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 / help me! the camera in db is mexed up....

Author
Message
sorcre
22
Years of Service
User Offline
Joined: 13th Dec 2002
Location: United States
Posted: 2nd Mar 2003 17:10




that code makes a mtrix and laods a guy from dark matter. when u press they up key he starts walking and the walking animation plays. but then when he walks to the sides and or direction the camera gets all jumpy. it seems as if u are walking on a randomized matrix that is all mountains. it is very!!!! bumpy. can someone please fix my code?
never achive your goals... cause if you do then what is next????
medwayman
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: uk
Posted: 2nd Mar 2003 18:30
SYNC ON and SYNC RATE need to be placed at the beginning of your code not in the loop. Then you need to use the SYNC command to update the screen
Don’t know if this will solve all you problems because I can't run the code.

medwayman
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: uk
Posted: 2nd Mar 2003 22:55
Ok, to solve the problem use real numbers for your camera variables
xp#
yp#
zp#



Curious - carbon based life forms that appear to be entirely devoid of rubber
medwayman
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: uk
Posted: 2nd Mar 2003 23:09
use FIX OBJECT PIVOT 1 after YROTATE OBJECT 1,180 then you don't have to move the object backward to make it go forward. if you know what i mean. lol



Curious - carbon based life forms that appear to be entirely devoid of rubber
sorcre
22
Years of Service
User Offline
Joined: 13th Dec 2002
Location: United States
Posted: 3rd Mar 2003 00:42
THANK U!

never achive your goals... cause if you do then what is next????
medwayman
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: uk
Posted: 3rd Mar 2003 00:53
No problem

Curious - carbon based life forms that appear to be entirely devoid of rubber

Login to post a reply

Server time is: 2025-08-08 20:40:01
Your offset time is: 2025-08-08 20:40:01