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.

Dark GDK / Moving camera on X axis really slow?

Author
Message
String
15
Years of Service
User Offline
Joined: 24th Mar 2009
Location:
Posted: 8th Apr 2009 11:53
My simple, simple code i'm using to attempt to rotate my camera on its X axis (up and down) seems to be very jumpy, all i'm using is:

It only moves when you move the mouse a fair bit and it very jumpy, as in opposite of smooth when it does in fact move.

Why is this?
prasoc
16
Years of Service
User Offline
Joined: 8th Oct 2008
Location:
Posted: 8th Apr 2009 15:33
dbWrapValue() would make it jumpy: it truncates it to just the whole number with no decimals.
String
15
Years of Service
User Offline
Joined: 24th Mar 2009
Location:
Posted: 9th Apr 2009 00:33
It still does it without the dbWrapValue()
CheatCat
17
Years of Service
User Offline
Joined: 7th Mar 2007
Location: Sweden
Posted: 9th Apr 2009 11:58
Anything like this, maybe?



I have not tested this. The function above is just a suggestion.
Morcilla
21
Years of Service
User Offline
Joined: 1st Dec 2002
Location: Spain
Posted: 9th Apr 2009 12:16
If it is still jumpy, perhaps it is because of some other reason. Maybe you should post the whole (or more) code...
prasoc
16
Years of Service
User Offline
Joined: 8th Oct 2008
Location:
Posted: 9th Apr 2009 13:54
When I test it, it works fine ? (even the first piece of code), so it must be somewhere else that is the problmem

Login to post a reply

Server time is: 2024-11-25 14:31:50
Your offset time is: 2024-11-25 14:31:50