API
Babylon Lite API
|
setPhysicsBodyAngularVelocity
…
|
Babylon Lite API
|
setPhysicsBodyAngularVelocity
setPhysicsBodyAngularVelocity
Function setPhysicsBodyAngularVelocity
setPhysicsBodyAngularVelocity
(
world
:
PhysicsWorld
,
body
:
PhysicsBody
,
velocity
:
Vec3
,
)
:
void
Set a body's angular velocity (rad/s).
Parameters
world
:
PhysicsWorld
body
:
PhysicsBody
velocity
:
Vec3
Returns
void
Set a body's angular velocity (rad/s).