Search found 4 matches

by Glaucos
Tue Jul 24, 2012 6:32 pm
Forum: Beginners Help
Topic: framerate independent rotation
Replies: 0
Views: 459

framerate independent rotation

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 ...
by Glaucos
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 !
by Glaucos
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 ...
by Glaucos
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 ...