🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Making objects move

Started by
0 comments, last by Castor3d 24 years, 1 month ago
So far I have only moved things linearly, but what I want to do is to define a ''path'' that I want the object(or light) follow. Is this possible? Does anyone have a solution? Btw I suck bigtime at maths.
Advertisement
All you need to do is just create an array contain the node of path. Like this :
Glint path[3][3] = {(1,1,1),(1,0,1),(0,0,1)};
Then write the code that move the object linearly follow the path defined in array.
That''s all.

This topic is closed to new replies.

Advertisement