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 Professional Discussion / Why will this not work? Xrotate camera in 3d

Author
Message
Daniel wright 2311
User Banned
Posted: 27th Nov 2011 02:28 Edited at: 27th Nov 2011 02:28
I can not for the life of me get my camera to rotate with my object on the x axses,why not? If I dont do it like this I can not use any other methoud as I am using sparkys collition so I use the same functions for movment and collision.



my signature keeps being erased by a mod So this is my new signature.
Brendy boy
20
Years of Service
User Offline
Joined: 17th Jul 2005
Location: Croatia
Posted: 27th Nov 2011 02:51
you can't call MouseMovex() twice or more in a row, subsequent calls will return zero. Call it just once, save it to a variable and then use that variable instead

Daniel wright 2311
User Banned
Posted: 27th Nov 2011 03:02
Quote: "you can't call MouseMovex() twice or more in a row, subsequent calls will return zero. Call it just once, save it to a variable and then use that variable instead"


Ok, I get you, that well, odd,but I can think up some kind of variable for MouseMovex().

Thanks for your help


my signature keeps being erased by a mod So this is my new signature.

Login to post a reply

Server time is: 2026-07-10 03:59:38
Your offset time is: 2026-07-10 03:59:38