Make A model Jump

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Radnussrini
Posts: 14
Joined: Tue Oct 10, 2006 5:58 am

Make A model Jump

Post by Radnussrini »

Hai I am Developing a Dragon Booster Game. The Game is first person racer game. if space pressed the camera wants to move. I am waiting the reples.

i Know my english grammer was worse.Sorryyyyyy for inconvince
anandh
Posts: 61
Joined: Thu Sep 14, 2006 12:40 pm
Contact:

Post by anandh »

You get the player(scene node) position

Code: Select all

core::vector3df p = player->getPosition();


in your run() method get the position value

Code: Select all

p = player->getPosition();

//check for the key pressed (jump key)

p.Y+=spd;

//finally
player->setPosition(p); 
 
regards
anandh
Post Reply