Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do i get source files or source codes?
05-07-2010, 12:18 PM,
#6
 
Do you need the acceleration values explicitly or are current position, orientation enough?
Code:
// graphics interface, interpolated!
void Update(); // update interpolated chassis state
const MATHVECTOR <T, 3> & GetCenterOfMassPosition() const;
const MATHVECTOR <T, 3> & GetPosition() const;
const QUATERNION <T> & GetOrientation() const;

If you want to use the non-interpolated values I would suggest to derive from cardynamics and read the btRigidBody values directly.
Reply


Messages In This Thread
[No subject] - by MADBAD - 05-05-2010, 01:37 PM
[No subject] - by nucleargenome - 05-06-2010, 12:35 AM
[No subject] - by NaN - 05-06-2010, 06:31 PM
[No subject] - by nucleargenome - 05-07-2010, 12:05 PM
[No subject] - by NaN - 05-07-2010, 12:18 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)