Changeset 3325
- Timestamp:
- 01/28/10 14:46:15 (7 weeks ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
plugins/branches/0185_GEN_PHYSICS_REFACTOR_2/ZBullet/src/PhysicsActor.cpp
r3324 r3325 134 134 btRigidBodySetForceAndTorqueCallback(m_pActor, ApplyForceAndTorqueCallback); 135 135 btRigidBodySetAutoactiveCallback(m_pActor, ActivationStateCallback); 136 137 //btRigidBodySetFreezeTreshold(m_pActor, 138 139 btRigidBodySetUserData(m_pActor, this); 136 137 m_pActor.setUserPointer(this); 140 138 141 139 return true; … … 440 438 PhysicsActor::TransformCallback(const btRigidBody* _body, const Zen::Math::Real* _matrix) 441 439 { 442 void* pBody = btRigidBodyGetUserData(_body);440 void* pBody = _body->getUserPointer(); 443 441 if (pBody != NULL) 444 442 {
