PhysicsWorldComponent
A Component that creates a new physics world for the entity and allows manipulation of physics simulation parameters including gravity, KinematicCollisionReportMode, SolverIterations, and SimulationClock.
Only entities within the same physics world will collide with each other. To put entities in the same physics world, create a parent entity for them and add the PhysicsWorldComponent to the parent entity.
Constructors
Default constructor.
Constructs a PhysicsWorldComponent with the specified gravity, collision reporting mode, solver iterations, and simulation clock.
Properties
Controls whether collisions involving kinematic rigid bodies are reported as CollisionEvents.
A custom clock driving the physics simulation, defaults to the engine clock.
The number of iterations that the physics solver uses.