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.

DarkBASIC Professional Discussion / Object to follow other?

Author
Message
MatriX
22
Years of Service
User Offline
Joined: 19th Oct 2003
Location: Deer Park, New York
Posted: 19th Oct 2003 08:09
Is there a command that will make one object follow another? The "Set Camera to Follow" command works great and I would think that there would be a command that does the same thing with an objects instead of the camera but don't seem to see it.

In life try hard. Success does not come easy.
indi
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 19th Oct 2003 08:21 Edited at: 19th Oct 2003 08:41
you could reference a camera other than 1 to acheive a similar result and not output that cameras result.

the extra object could be glued to the first object or attached as a limb object.

with maths it could be positioned in accordance with the other object

u could feed the 2nd object the 1st objects x y and z positions but offset what ever dimension you wanted it be a distance from the other object.

A command like that probably wouldnt hurt tho.

QuothTheRaven
23
Years of Service
User Offline
Joined: 2nd Oct 2002
Location: United States
Posted: 20th Oct 2003 00:53
...

point the second object at the first object

...

move the second object forward.

MatriX
22
Years of Service
User Offline
Joined: 19th Oct 2003
Location: Deer Park, New York
Posted: 20th Oct 2003 08:26 Edited at: 20th Oct 2003 08:28
It's for a train..let me see if that would give realistic results..thanks!

In life try hard. Success does not come easy.
MatriX
22
Years of Service
User Offline
Joined: 19th Oct 2003
Location: Deer Park, New York
Posted: 20th Oct 2003 09:33
Oh my god that was so simple I can't believe I didn't think of it!

Thanks again! Sometimes you just need to point out the obvious for some of us hehe.

In life try hard. Success does not come easy.

Login to post a reply

Server time is: 2026-07-26 09:30:41
Your offset time is: 2026-07-26 09:30:41