pub fn linear_velocity() -> Component<Vec3>
Expand description

Linear velocity: Linear velocity (meters/second) of this entity in the physics scene.

Updating this component will update the entity’s linear velocity in the physics scene.

Note that changing this component will forcibly set the velocity; changing the velocity every frame may lead to unexpected behavior, like gravity not working or collisions failing.

If you need to adjust the velocity each frame, consider applying a force using physics functions instead.

Attributes: Debuggable, Networked, Store