Understanding Unity — Rigidbody: Static, Dynamic and Kinematic

Echo Yin
Women in Technology
Aug 14, 2023

[Personal Devlog: August 14, 2023]

Red: Kinematic
Yellow: Dynamic
Blue: Static

Static

Static objects can’t be moved in the scene. It wouldn’t respond to any force.

Objects with any Collider component but without Rigidbody component is considered as static.

Static objects can add force to dynamic objects

Use case: wall, heavy furnitures, road blocks.

Static objects cannot add force to kinematic objects

Kinematic

Kinematic objects can be moved by scripts but not the other dynamic objects.

Kinematic objects can add force to dynamic objects
Kinematic objects cannot be effected with force from static objects

By checking `Is Kinematic` the game object is ignoring attributes such as Mass, Drag, Angular Drag and Use Gravity. Basically ignoring any forces added to the object.

Rigidbody option in Unity

Use case: Floating moving platform, air plane.

Dynamic

Dynamic objects can be effected by all the forces that are added to it.

Dynamic objects can be effected by kinematic objects
Dynamic objects can also be effected by static objects

Use case: player prototype, interactable objects and so on.

Hope this little demonstration helps you understand physics simulation in Unity!

--

--