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.

Newcomers DBPro Corner / Moving 3d objects! Need help!!

Author
Message
GICO
20
Years of Service
User Offline
Joined: 22nd Jun 2004
Location: Probably watching The Monkey Show
Posted: 9th Aug 2004 00:04 Edited at: 9th Aug 2004 06:00
Im a complete beginner so be nice to me Im trying to make a 3d box rotate and move in the direction it is facing by using the keyboard in DBP. The rotationpart is easy enough but i cant make it move in the direction its facing! I know it is possible to make! I just need some help!

GICO
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 9th Aug 2004 00:56
move object objectnumber, distance

GICO
20
Years of Service
User Offline
Joined: 22nd Jun 2004
Location: Probably watching The Monkey Show
Posted: 9th Aug 2004 01:04
Well... when i do that it just moves instantly to a position! I want it to, u know "walk"!

GICO
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 9th Aug 2004 04:29 Edited at: 9th Aug 2004 04:36
No that will make it move a distance in DBP I don't know about DBC.
Position object objectnumber, xpos,ypos,zpos moves it to a location.
How about posting some code?

[edit] Try this


GICO
20
Years of Service
User Offline
Joined: 22nd Jun 2004
Location: Probably watching The Monkey Show
Posted: 9th Aug 2004 05:51 Edited at: 9th Aug 2004 05:55
Woah! thx!! it worked! i made an annoying mistake with a variable. but thx!!

EDIT: but now my camera wont follow the object! like in a 3rd person game....

GICO

Login to post a reply

Server time is: 2024-11-27 04:46:32
Your offset time is: 2024-11-27 04:46:32