BsFixedJoint.h 669 B

12345678910111213141516171819202122232425
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. #pragma once
  4. #include "BsCorePrerequisites.h"
  5. #include "BsJoint.h"
  6. namespace BansheeEngine
  7. {
  8. /** @addtogroup Physics
  9. * @{
  10. */
  11. /** Physics joint that will maintain a fixed distance and orientation between its two attached bodies. */
  12. class BS_CORE_EXPORT FixedJoint : public Joint
  13. {
  14. public:
  15. virtual ~FixedJoint() { }
  16. /** Creates a new fixed joint. */
  17. static SPtr<FixedJoint> create();
  18. };
  19. /** @} */
  20. }