Class: A_ApplyTorque

b5. A_ApplyTorque

b5.A_ApplyTorque

new b5.A_ApplyTorque(target, torque, duration){b5.A_ApplyTorque}

actions/generic/physics.js, line 201

Action that applies a torque to an object over a period of time 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

torque number

Amount of Torque to apply

duration number

Duration of action

Returns:
Type Description
b5.A_ApplyTorque The created action