PhysicsFixedConstraint.cpp 617 B

123456789101112131415161718192021
  1. #include "Base.h"
  2. #include "PhysicsFixedConstraint.h"
  3. namespace gameplay
  4. {
  5. PhysicsFixedConstraint::PhysicsFixedConstraint(PhysicsRigidBody* a, PhysicsRigidBody* b)
  6. : PhysicsGenericConstraint(a, b)
  7. {
  8. PhysicsGenericConstraint::setAngularLowerLimit(Vector3(0.0f, 0.0f, 0.0f));
  9. PhysicsGenericConstraint::setAngularUpperLimit(Vector3(0.0f, 0.0f, 0.0f));
  10. PhysicsGenericConstraint::setLinearLowerLimit(Vector3(0.0f, 0.0f, 0.0f));
  11. PhysicsGenericConstraint::setLinearUpperLimit(Vector3(0.0f, 0.0f, 0.0f));
  12. }
  13. PhysicsFixedConstraint::~PhysicsFixedConstraint()
  14. {
  15. // Not used.
  16. }
  17. }