Phys motor: Difference between revisions
Jump to navigation
Jump to search
(Added some descriptions) |
m (Added it to the newly created Category:Forces.) |
||
Line 26: | Line 26: | ||
== Outputs == | == Outputs == | ||
{{O Targetname}} | {{O Targetname}} | ||
[[Category:Forces]] |
Revision as of 10:33, 22 March 2012
Template:Base point It tries to spin a target entity at a particular speed.
Keyvalues
- Spin up time ([todo internal name (i)]) <string>
- spin up time in seconds (also affects the rate at which speed changes happen)
- System Interia Scale ([todo internal name (i)]) <float>
- Make this larger if the object being driven is constrained to a set of heavier objects.
- Rotation Axis ([todo internal name (i)]) <vector>
- The point to the Origin of the entity whose line the rotation axis.
- Attached Object ([todo internal name (i)]) <targetname>
- Object to apply the force to
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
Flags
- 1 : Start On
- 2 : No world collision
- Disable world collisions on hinges
- 4 : Hinge Object
- Motor also acts as a hinge constraining the object to this axis
- 8 : Orient Locally
- Maintain local relationship with the attached object (FGD comment: "NOT WORKING YET")
Inputs
- SetSpeed <float >
- Sets target speed
- TurnOn
- Turns motor on
- TurnOff
- Turns motor off