RigidbodyFlag.generated.cs 872 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using System.Runtime.CompilerServices;
  3. using System.Runtime.InteropServices;
  4. namespace BansheeEngine
  5. {
  6. /** @addtogroup Physics
  7. * @{
  8. */
  9. /// <summary>Flags that control options of a Rigidbody object.</summary>
  10. public enum RigidbodyFlag
  11. {
  12. /// <summary>No options.</summary>
  13. None = 0,
  14. /// <summary>
  15. /// Automatically calculate center of mass transform and inertia tensors from child shapes (colliders).
  16. /// </summary>
  17. AutoTensors = 1,
  18. /// <summary>Calculate mass distribution from child shapes (colliders). Only relevant when auto-tensors is on.</summary>
  19. AutoMass = 2,
  20. /// <summary>
  21. /// Enables continous collision detection. This can prevent fast moving bodies from tunneling through each other. This
  22. /// must also be enabled globally in Physics otherwise the flag will be ignored.
  23. /// </summary>
  24. CCD = 4
  25. }
  26. /** @} */
  27. }