new b5.A_SetAngularVelocity(target, vr, duration){b5.A_SetAngularVelocity}
actions/generic/physics.js, line 73
Action that sets the angular velocity of an actors body for a duration then exits
Created actions should be added to an actor or scenes actions list to be processed
For a complete overview of Actions see Booty5 Actions Overview
Name | Type | Description |
---|---|---|
target |
string | b5.Actor |
Path to or instance of target object that will be affected |
vr |
number |
Angular velocity |
duration |
number |
Duration of action |
Returns:
Type | Description |
---|---|
b5.A_SetAngularVelocity | The created action |