Class PhysicsBody
- Namespace
- Game.Shared.Physics
- Assembly
- Game.dll
- Inheritance
-
PhysicsBody
- Inherited Members
-
Constructors
PhysicsBody(PhysicsShape, BodyHandle, bool)
public PhysicsBody(PhysicsShape shape, BodyHandle dynamicHandle, bool needsConversion)
Parameters
shape
PhysicsShape
dynamicHandle
BodyHandle
needsConversion
bool
PhysicsBody(PhysicsShape, StaticHandle)
public PhysicsBody(PhysicsShape shape, StaticHandle staticHandle)
Parameters
shape
PhysicsShape
staticHandle
StaticHandle
Fields
FromBepuQuaternion
public static readonly Quaternion FromBepuQuaternion
Field Value
- Quaternion
ToBepuQuaternion
public static readonly Quaternion ToBepuQuaternion
Field Value
- Quaternion
Properties
BodyHandle
public BodyHandle BodyHandle { get; }
Property Value
- BodyHandle
BodyReference
public BodyReference BodyReference { get; }
Property Value
- BodyReference
IsStatic
public bool IsStatic { get; }
Property Value
- bool
NeedsConversion
public bool NeedsConversion { get; }
Property Value
- bool
Orientation
public Quaternion Orientation { get; set; }
Property Value
- Quaternion
OrientationStatic
public Quaternion OrientationStatic { get; set; }
Property Value
- Quaternion
Position
public Vector3 Position { get; set; }
Property Value
- Vector3
PositionStatic
public Vector3 PositionStatic { get; set; }
Property Value
- Vector3
Shape
public PhysicsShape Shape { get; }
Property Value
- PhysicsShape
StaticHandle
public StaticHandle StaticHandle { get; }
Property Value
- StaticHandle
StaticReference
public StaticReference StaticReference { get; }
Property Value
- StaticReference
Methods
FromBepu(Quaternion)
public static Quaternion FromBepu(Quaternion orientation)
Parameters
orientation
Quaternion
Returns
- Quaternion
ToBepu(Quaternion)
public static Quaternion ToBepu(Quaternion orientation)
Parameters
orientation
Quaternion
Returns
- Quaternion