Table of Contents

Enum BodyMode

Namespace
Stride.CommunityToolkit.Engine
Assembly
Stride.CommunityToolkit.dll

What kind of physics a created primitive gets from the engine the scene setup chose.

public enum BodyMode

Fields

Dynamic = 0

A body with the collider fitted to the shape, moved by forces and collisions. The default.

Kinematic = 2

A body moved by its velocities alone, which pushes dynamic bodies and is never pushed back: lifts, doors, platforms.

None = 3

No physics at all: a model and nothing else, whatever the setup chose.

Static = 1

An immovable collider fitted to the shape: floors, walls, the ground.

Remarks

Read by CreatePrimitive, the ground helpers and the physics packages' entity extensions when the options supply no component of their own. A supplied component wins, and a supplied component with None is refused, since the two contradict each other.