Phys motor: Difference between revisions
Jump to navigation
Jump to search
m (Robot: fixing template case.) |
mNo edit summary |
||
Line 10: | Line 10: | ||
: <target_destination> Object to apply the force to | : <target_destination> Object to apply the force to | ||
*'''speed''' | *'''speed''' | ||
: <float> Angular speed (units are | : <float> Angular speed (units are degrees/second) | ||
*'''spinup''' | *'''spinup''' | ||
: <float> Spin-up time in seconds (also affects the rate at which speed changes happen) | : <float> Spin-up time in seconds (also affects the rate at which speed changes happen) |
Revision as of 06:28, 30 January 2011
Template:Wrongtitle Template:Base point
Entity Description
An entity that tries to spin a target entity at a particular speed.
Keyvalues
- 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
- attach1
- <target_destination> Object to apply the force to
- speed
- <float> Angular speed (units are degrees/second)
- spinup
- <float> Spin-up time in seconds (also affects the rate at which speed changes happen)
- inertiafactor
- <float> System interia scale. Make this larger if the object being driven is constrained to a set of heavier objects.
- axis
- <vecline> Rotation axis
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