Advertisement Jump to content

Archived

This topic is now archived and is closed to further replies.

unknownfriend

How would I....

This topic is 6122 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

How could I make light "stick" to an object. For example, I have a spining pyramid about the x axis, how could I make the light stay at the top of the pyramid?

Share this post


Link to post
Share on other sites
Advertisement
Find the coordinates (world) of the top of the pyramid, and move the light there every frame.

||--------------------------||
Black Hole Productions
http://bhp.e-chrono.net/
Resident expert on stuff
max621@barrysworld.com
||--------------------------||

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!