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 / Problems Moving my Object

Author
Message
Rekar
18
Years of Service
User Offline
Joined: 22nd Jun 2006
Location:
Posted: 22nd Jun 2006 23:52
Let me state my problem: I cant move my object on the z-axis plane. ive tried many solutions into fixing the problem and still the same results, the object will not move. Here is my code.


It is a little messy as i have been moving code around trying to get object 1 to move. Can i get some help moving this object?

PS: the matrix is there to help keep me know where 0 is on the y-axis

All if Fair in love and war...unless your fighting a woman, then your screwed....
flock
18
Years of Service
User Offline
Joined: 10th Mar 2006
Location: Earth
Posted: 23rd Jun 2006 00:26
Don't assert the updated position in the upkey() or downkey() IF statements. Instead, if upkey() = 1 then player# = player#+1. Keep the position object at the bottom AFTER the upkey(). Now it will work.
Rekar
18
Years of Service
User Offline
Joined: 22nd Jun 2006
Location:
Posted: 23rd Jun 2006 00:32
Wow, thank you alot...... i feel quite stupid.

know that i know where my mistake was, i shouldnt run into that problem again

All if Fair in love and war...unless your fighting a woman, then your screwed....

Login to post a reply

Server time is: 2024-11-27 15:34:27
Your offset time is: 2024-11-27 15:34:27