Component reference
Physics components

Rigidbody component

5min

Description

The Rigidbody component adds physical behavior to entities, enabling them to interact with physics simulations like gravity, collisions, and forces. It defines how an entity moves and responds within the physics world.

Document image



Requirements

A Collider component is required for physical interactions, such as detecting collisions with other objects.



Properties

Property

Description

Body Type

Determines how the entity interacts with the physics system. Options include:

Fixed

The entity remains static and is unaffected by physics forces. Useful for objects that should not move.

Dynamic

The entity is fully affected by physics forces, including gravity and collisions.

Kinematic

The entity moves based on its own logic but does not react to physics forces. It can affect Dynamic bodies through collisions but remains unaffected by external physics forces.



Usage notes

  • A Rigidbody enables an entity to interact with the physics simulation, responding to forces and collisions.
  • A Collider must be present on the same entity for collisions to be detected.
  • The Body Type determines whether the entity moves freely, remains static, or follows scripted motion.
  • When working with models, the Model component offers an option to apply a Rigidbody and Collider directly, simplifying setup.