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 Discussion / Why won't it move??

Author
Message
Axelman
21
Years of Service
User Offline
Joined: 18th Oct 2003
Location: Parallel Universe
Posted: 28th Jul 2004 20:27
I've got two objects, Object 1 and object Tail(Tail is a variable at the start of the code, with a value of 107). whenever object 1 collides with the point object (Not included in source code) it makes object Tail. Anyways, for some reason tail doesn't move when i use the MOVE OBJECT command or rotate when i use th ROTATE OBJECT command down in the controls section, which is realy irritating. basically when the object tail is made i want it to follow object 1,
But for some reason it doesn't even budge.

Thanks in Advance
Axelman

This Space for rent
Aramil
21
Years of Service
User Offline
Joined: 27th Oct 2003
Location: Wherever my feet take me
Posted: 1st Aug 2004 05:25
Okay...I'm not quite sure what the problem is...but I'll give it a shot. In order, you position the objects, then move them. I think what you're supposed to do is move the object, store the positions in variables(x,y,z), and then position them in those same variables. I think that's the problem with your rotating as well. The objects are pointed, then rotated, rendering the pointing irrelevant. I'm not quite sure how to fix that, though. I apologize if I misinterpreted your code. Hope that helps!
Axelman
21
Years of Service
User Offline
Joined: 18th Oct 2003
Location: Parallel Universe
Posted: 1st Aug 2004 09:00
Thanks alot, i really apreciate your help. I'll give it a shot and see what happens. I've tried heaps of differnet things since then, i've tried limbs and i've also tried this thing were if object 1's position Changes then i position the tail behind Object 1 but that didn't work.

Anyways,
Thanks
Cya Later

This Space for rent

Login to post a reply

Server time is: 2025-05-25 17:32:36
Your offset time is: 2025-05-25 17:32:36