Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

readAngularVelocity

readAngularVelocity(world, entity): Readonly<Vector3>

entity’s spin in radians a second about each world axis, written into one vector reused by every call: copy it to keep it. Read as readLinearVelocity reads a velocity.

Parameter Type
world World
entity Entity

Readonly<Vector3>