DecayKnowledgebase
functiongenerated

Physics3d.set_velocity

Sets finite world-space Vec3 linear velocity on an active dynamic or velocity-kinematic body; queues before synchronization after validating authored body/colliders. Invalid inputs fail before mutation; does not change authored starting motion.

Signature

Physics3d.set_velocity(entity: Entity, velocity: Vec3) -> unit

Member of Physics3d

Related types

Entity

Source
docs/generated/decay-api.json
Schema
v1
Engine version
0.1.0
Source commit
909aca81368b