Hi
Ive been trying to rotate a light. but there is no function for that only LightLookAt but i don't want it to look at anything just turn. so how can this be done?
Cheers
Light Angle
Re: Light Angle
Just use an imaginary point in space at an arbitrary distance from the light and rotate that point around
the center of the light yourself using Sin / Cos functions and then use LightLookAt to rotate it.
Don't have time to create an example at the moment, sorry.
the center of the light yourself using Sin / Cos functions and then use LightLookAt to rotate it.

Don't have time to create an example at the moment, sorry.
Blog: Why Does It Suck? (http://whydoesitsuck.com/)
"You can disagree with me as much as you want, but during this talk, by definition, anybody who disagrees is stupid and ugly."
- Linus Torvalds
Re: Light Angle
You can attach a light to a node and rotate the node.
Please correct my english
http://purebasic.developpez.com/
http://purebasic.developpez.com/
Re: Light Angle
yeah just found that out
Thank you.

Thank you.