robot_2Generated
code_blocksInput

Description

The Dynamic field of the PhysicsBodyType enumeration represents a physics body that is fully simulated by the physics engine. This means that the body is affected by forces, collisions, and other physical interactions within the simulation environment.

Usage

Use the Dynamic type for objects that need to interact with other physics bodies in a realistic manner. This is suitable for objects that should respond to gravity, collisions, and other forces.

Example

// Example of setting a physics body type to Dynamic
PhysicsBody body = new PhysicsBody();
body.Type = PhysicsBodyType.Dynamic;

// This will make the body fully simulated by the physics engine,
// allowing it to move and interact with other dynamic bodies.