PhysicsVelocityComponent
A Component that directly sets an entity’s linear and angular velocities.
This component applies a one-time, instantaneous change in motion (like an impulse) rather than continuously setting a constant velocity or force. Linear and angular velocities are measured in meters per second (m/s) and radians per second (rad/s), respectively, and are applied in world coordinate space.
To work properly, the entity must also have a CollisionComponent and a RigidBodyComponent. The rigidBodyMode of the RigidBodyComponent can be set to either RigidBodyMode.KINEMATIC or RigidBodyMode.DYNAMIC.
Constructors
Link copied to clipboard