- Timestamp:
- 02/01/10 12:08:08 (6 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
plugins/branches/0185_GEN_PHYSICS_REFACTOR_2/ZNewton/src/PhysicsActor.cpp
r3339 r3347 618 618 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 619 619 void 620 PhysicsActor::applyImpulse(const Math::Vector3& _force, const Math::Vector3& _worldPos) 621 { 622 //todo: bullet needs it's force fed to it in local space coords 623 NewtonAddBodyImpulse(m_pActor, _force.m_array, _worldPos.m_array); 624 } 625 626 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 627 void 620 628 PhysicsActor::applyTorque(const Math::Vector3& _torque) 621 629 {
