Skip to content

@modoki/engine / index / setAngvel3D

Function: setAngvel3D()

setAngvel3D(world, entity, x, y, z, wakeUp?): boolean

Set angular velocity directly (radians/s about the world axes).

Parameters

world

World

entity

Entity

x

number

y

number

z

number

wakeUp?

boolean = true

Returns

boolean

Built with Modoki.