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 / person on ground

Author
Message
iplaybass
20
Years of Service
User Offline
Joined: 11th Nov 2004
Location: illegally hacking into gov. networks
Posted: 13th Mar 2005 09:38
i have my code with the whole landscape, and person, but it just walks through the floor. how can i make it walk on top of the ground?

thanks for your help!
GotStatic Studios
21
Years of Service
User Offline
Joined: 22nd May 2004
Location: UK-Cornwall
Posted: 13th Mar 2005 21:50
find the height of your person half it and add it on to "the get matrix height(m,x,y)" command.
Turoid
21
Years of Service
User Offline
Joined: 1st Nov 2003
Location: The Netherlands
Posted: 13th Mar 2005 21:54
Use this:

position object 1,x#,y#+(object size y(1)/2),z#




[B]changed my old name "jopie dopie" to my real name[/B]
iplaybass
20
Years of Service
User Offline
Joined: 11th Nov 2004
Location: illegally hacking into gov. networks
Posted: 15th Mar 2005 04:34
that didn't do anything. my person still walks through the ground. also, how can i put my person somewhere else? right now, it just appears in the corner of my matrix.

Login to post a reply

Server time is: 2025-05-23 23:01:58
Your offset time is: 2025-05-23 23:01:58