Class ColliderBase
- Namespace
- Stride.BepuPhysics.Definitions.Colliders
- Assembly
- Stride.BepuPhysics.dll
[DataContract(Inherited = true)]
public abstract class ColliderBase
- Inheritance
-
ColliderBase
- Derived
Properties
Container
public CompoundCollider? Container { get; }
Property Value
Mass
public float Mass { get; set; }
Property Value
Remarks
Changing this value will reset some of the internal physics state of this body
PositionLocal
Local position of this collider relative to its parent
[DataAlias("LinearOffset")]
public Vector3 PositionLocal { get; set; }
Property Value
Remarks
Changing this value will reset some of the internal physics state of this body
RotationLocal
Local rotation of this collider relative to its parent
public Quaternion RotationLocal { get; set; }
Property Value
Remarks
Changing this value will reset some of the internal physics state of this body
Methods
TryUpdateFeatures()
protected void TryUpdateFeatures()