functiongenerated
Physics3d.set_angular_velocity
Sets finite Vec3 angular velocity in radians per second around world XYZ on an active dynamic or velocity-kinematic body; queues before synchronization after validating authored body/colliders. Rotation-locked bodies retain zero angular velocity. Invalid input fails before mutation; does not change authored starting motion.
Signature
Physics3d.set_angular_velocity(entity: Entity, velocity: Vec3) -> unitMember of Physics3d
Related types
- Source
- docs/generated/decay-api.json
- Schema
- v1
- Engine version
- 0.1.0
- Source commit
909aca81368b