Camera / object movement

Go down

Camera / object movement

Post  Don Jaffa on Tue Jul 14, 2009 4:24 pm

Hey, my game is approaching a completed stage so I decided to upgrade from 1.3.3 to 1.5 to get the most out of the update - having got past most of the major bugs in doing this I have encountered one that really puzzles me.

I use 'player->_btRigidBody->setLinearVelocity' to set the movement of my player, and as I encountered problems at high speed when parenting my camera to the player object, I used the same code with the camera - this worked fine for 1.3.3, however in 1.5 the camera moves ever so slightly faster than the physics objects, even though they use the exact same movement code (I'm talking the player moving at 0.9985% the speed of the camera). Any ideas what might be causing this?

Don Jaffa

Posts : 49
Join date : 2009-02-19

View user profile

Back to top Go down

Re: Camera / object movement

Post  sio2interactive on Tue Jul 14, 2009 4:28 pm

Bullet 2.74... I had the same problem... you can see a noticeable delay...

SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch

Posts : 1526
Join date : 2008-08-26
Age : 39
Location : Shanghai

View user profile

Back to top Go down

Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum