using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace BansheeEngine
{
/** @addtogroup Physics
* @{
*/
/// Flags that control options of a Rigidbody object.
public enum RigidbodyFlag
{
/// No options.
None = 0,
///
/// Automatically calculate center of mass transform and inertia tensors from child shapes (colliders).
///
AutoTensors = 1,
/// Calculate mass distribution from child shapes (colliders). Only relevant when auto-tensors is on.
AutoMass = 2,
///
/// Enables continous collision detection. This can prevent fast moving bodies from tunneling through each other. This
/// must also be enabled globally in Physics otherwise the flag will be ignored.
///
CCD = 4
}
/** @} */
}