applying gravity to irrlicht FPS camera using BULLET

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
trueleowdeo
Posts: 6
Joined: Mon Apr 26, 2010 7:09 am

applying gravity to irrlicht FPS camera using BULLET

Post by trueleowdeo »

in simple terms, how can i apply gravity to the irrlicht FPS camera using bullet sdk or irrbullet?. A short code snipet would be appreciated since they are in short supply.

Thanks 8)
Mag-got
Posts: 42
Joined: Tue Dec 04, 2007 5:53 pm

Post by Mag-got »

You should read tutorials about bullet. The camera has to be attached to a body or you can make a raycast character controller
esr
Posts: 2
Joined: Tue Jan 04, 2011 6:32 pm

Post by esr »

I tried doing that. *bump*. However, the camera just shakes. I'm not really sure what's up with that. See video: http://www.youtube.com/watch?v=KhcVJVP_pQg The camera was attached to a box scene node, it falls fine.
Post Reply