Answer the question
In order to leave comments, you need to log in
Why doesn't Light() work in python ursina engine?
I am studying the Ursina library. Wrote the code to create a cube:
from ursina import *
app = Ursina()
window.color = color.black
Light(type='ambient', color=(0.5, 0.5, 0.5, 1))
Light(type='directional', color=(0.5, 0.5, 0.5, 1), direction=(1, 1, 1))
cube = Entity(model='cube', rotation=(-15, 0, 0), position=(0, 0, 0), scale=4, color=color.orange)
app.run()
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question