Hi,
i would like to make the movement of a plane framerate independant. It includes both rotation and acceleration.
Here is my actual code:
void Vehicule::update(scene::ICameraSceneNode *camera, PlayerEventReceiver *r)
{
core::vector3df a, ar;//acceleration / acceleration of rotation
core ...
Search found 4 matches
- Tue Jul 24, 2012 6:32 pm
- Forum: Beginners Help
- Topic: framerate independent rotation
- Replies: 0
- Views: 459
- Sun Apr 08, 2012 7:30 am
- Forum: Game Programming
- Topic: Mouse movement
- Replies: 5
- Views: 2678
Re: Mouse movement
I got it, thanks for help !
- Sat Apr 07, 2012 11:18 am
- Forum: Game Programming
- Topic: Mouse movement
- Replies: 5
- Views: 2678
Re: Mouse movement
Thanks for reply.
I see... but how to to "keep the mouse in a circle on the center of the screen" ? I tried with device->getCursorCOntrol()->setPosition(), but it is handled as a mouse move event, so pitch of the plane isn't continous: it goes down when the cursor is moved from +400px to 0 by the ...
I see... but how to to "keep the mouse in a circle on the center of the screen" ? I tried with device->getCursorCOntrol()->setPosition(), but it is handled as a mouse move event, so pitch of the plane isn't continous: it goes down when the cursor is moved from +400px to 0 by the ...
- Fri Apr 06, 2012 7:21 pm
- Forum: Game Programming
- Topic: Mouse movement
- Replies: 5
- Views: 2678
Mouse movement
Hi all,
i am attempting to create a small air fight game with irrlicht, and I want to use the mouse to mouve the plane, but I am facing the following issue: when the mouse come on the screen borders, no mouseup or mousedown movement is recognised... I tried to automatically recenter it, but it is ...
i am attempting to create a small air fight game with irrlicht, and I want to use the mouse to mouve the plane, but I am facing the following issue: when the mouse come on the screen borders, no mouseup or mousedown movement is recognised... I tried to automatically recenter it, but it is ...