Skip to content

@modoki/engine / index / applyTorqueImpulse3D

Function: applyTorqueImpulse3D() ​

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

Apply an instantaneous angular impulse (torque·time) about the world axes.

Parameters ​

world ​

World

entity ​

Entity

x ​

number

y ​

number

z ​

number

wakeUp? ​

boolean = true

Returns ​

boolean

Built with Modoki.