Phys torque: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
m (Robot: fixing template case.)
Line 13: Line 13:
* {{Fl ForceController}}
* {{Fl ForceController}}
==Inputs==
==Inputs==
* {{i forcecontroller}}
* {{I ForceController}}
==Outputs==
==Outputs==
* {{o forcecontroller}}
* {{o forcecontroller}}

Revision as of 19:29, 19 January 2009

Template:Wrongtitle Template:Base point

Entity Description

An angular thruster. Use it to apply angular force to an entity.

Keyvalues

<integer> Angular Acceleration
  • axis
<vecline> Rotation Axis

Flags

  • ForceController:
Start On : [1]
Thrust is on by default (will turn off in forcetime)
Apply Force : [2]
Apply linear force (if off, torque only)
Apply Torque : [4]
Apply rotational force (torque - if off, linear only)
Orient Locally : [8]
Maintain local relationship with the attached object
Ignore Mass : [16]
Impulse is independent of object's mass (impulse is acceleration NOT force)


Inputs

  • ForceController:
Activate
Turn the force on
Deactivate
Turn the force off
Scale <floatRedirectInput/float>
Set Force Scale

Outputs