FixedJoint.cs 772 B

123456789101112131415161718192021222324
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. namespace BansheeEngine
  4. {
  5. /** @addtogroup Physics
  6. * @{
  7. */
  8. /// <summary>
  9. /// Physics joint that will maintain a fixed distance and orientation between its two attached bodies.
  10. /// </summary>
  11. public sealed class FixedJoint : Joint
  12. {
  13. /// <inheritdoc/>
  14. internal override NativeJoint CreateNative()
  15. {
  16. NativeFixedJoint joint = new NativeFixedJoint(commonData.@internal);
  17. return joint;
  18. }
  19. }
  20. /** @} */
  21. }