Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualMedo3337

Posted 29 November 2012 - 03:22 PM

I know all of that, the problem I'm having is that I need to get pitch, yaw, roll from bullet physics and set the updated value to bullet physics.

So here is EXACTLY what I mean:
// Add code to get pitch, yaw, roll from btRigidBody
pitch+=0.1f;
yaw+=0.2f;
roll+=0.1f;
// Add code to apply the new pitch, yaw, roll to btRigidBody

If someone could update the two commented lines with the appropriate code, it will be exactly what I want.

#1Medo3337

Posted 29 November 2012 - 03:21 PM

I know all of that, the problem I'm having is that I need to get pitch, yaw, roll from bullet physics and set the updated value to bullet physics.

So here is EXACTLY what I mean
// Add code to get pitch, yaw, roll from btRigidBody
pitch+=0.1f;
yaw+=0.2f;
roll+=0.1f;
// Add code to apply the new pitch, yaw, roll to btRigidBody

If someone could update the two commented lines with the appropriate code, it will be exactly what I want.

PARTNERS