Jump to content
  • Advertisement

Archived

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

unknownfriend

How would I....

This topic is 6024 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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!