Skip to content

CollisionTypes

PhysicsBodyType Enum

Defines how a physics actor behaves in the simulation.

Values:

  • STATIC: Infinite mass, immovable. Used for terrain.
  • KINEMATIC: Infinite mass, moved manually. Used for platforms/characters.
  • RIGID: Finite mass, simulated by physics. Used for dynamic objects.

CollisionShape Enum

Defines the geometric shape used for collision detection.

Values:

  • AABB: Axis-Aligned Bounding Box (Rectangle). Efficient and stable.
  • CIRCLE: Circular shape. Useful for balls and smooth characters.