The BodyType
property of a PhysicsBody
specifies the movement type of the physics body. It can be one of the following:
- Static: The body does not move and is not affected by forces or collisions.
- Keyframed: The body is moved by setting its position directly, often used for animated objects.
- Dynamic: The body is fully simulated by the physics engine, responding to forces and collisions.
Note: If this body is networked and dynamic, it will return Keyframed on the client side.