Interface ICollider
- Namespace
- Stride.BepuPhysics.Definitions.Colliders
- Assembly
- Stride.BepuPhysics.dll
public interface ICollider
Properties
Transforms
int Transforms { get; }
Property Value
Methods
GetLocalTransforms(CollidableComponent, Span<ShapeTransform>)
Fills in a span to transform AppendModel(List<BasicMeshBuffers>, ShapeCacheSystem, out object) from their neutral transform into the one specified by its collidable.
void GetLocalTransforms(CollidableComponent collidable, Span<ShapeTransform> transforms)
Parameters
collidable
CollidableComponenttransforms
Span<ShapeTransform>
Remarks
You must still transform this further into worldspace by using the world position and rotation the collidable's entity.