Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Howto make an object follow a path?

Author
Message
Manga Tiger Boy
15
Years of Service
User Offline
Joined: 24th Aug 2009
Location:
Posted: 2nd Mar 2010 01:53
Yeah, I'm a n00b. How can I make an object follow a path? And how do I go about setting up the path?

Join the dark side. We have cookies!
Ninjateck
16
Years of Service
User Offline
Joined: 27th Feb 2008
Location:
Posted: 2nd Mar 2010 22:47 Edited at: 2nd Mar 2010 23:00
Well it works like you make a few "waypoints" (objects to tell your charecter or whatever it is where to go) and have your object follow them in order to make a path

Example


you'll need to create some waypoint object(s) these can just be a few hidden plains if you want

then youll have to assign each var to a position

like so



youll have to do this for each of your waypoint object(s)

and then finally youll need to put them wherever you want him to go
a good way to figure this out is to dbPrint your X,Y,Z and open notpad and walk around your level and take down the values

then finally apply them like so

Login to post a reply

Server time is: 2024-10-05 16:21:58
Your offset time is: 2024-10-05 16:21:58