Rotation of a character to alter its orientaiton
Posted: Fri Aug 04, 2017 9:04 pm
I am having a bit of an issue with rotation, I want to spin a character on the spot to allow him to choose his direction of travel, but from the point of his creation as a rigidBody, I can find no methods to alter his orientation once created.
The btMotionstate allows me to gain access to the report data after a Physics step has occurred so I can comfortably alter his visual position and orientation for render, but as far as physics is concerned he still exists and points at the values he was given on creation.
Is there no other way to spin a character other than applying torque or setting Angular Velocity until orientation is where you want it?
The btMotionstate allows me to gain access to the report data after a Physics step has occurred so I can comfortably alter his visual position and orientation for render, but as far as physics is concerned he still exists and points at the values he was given on creation.
Is there no other way to spin a character other than applying torque or setting Angular Velocity until orientation is where you want it?