User:CodingAintFun/pagetest00: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Updated to use "this is a" template)
m (Blanked the page)
Tag: Blanking
 
(8 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{CD|CPhysMotor|file1=phys_controller.cpp}}
{{this is a|e0|name=phys_motor|engine=2}} It tries to spin a target entity at a particular speed.


== Keyvalues ==
{{KV|Rotation Speed|intn=speed|string|Angular speed (units are degrees/second)}}
{{KV|Spin up time|intn=spinup|string|spin up time in seconds (also affects the rate at which speed changes happen)}}
{{KV|System Interia Scale|intn=inertiafactor|float|Make this larger if the object being driven is constrained to a set of heavier objects.}}
{{KV|Rotation Axis|intn=axis|vecline|The point to the Origin of the entity whose line the rotation axis.}}
{{KV|Attached Object|intn=attach1|target_destination|Object to apply the force to}}
{{KV Targetname}}
== Flags ==
{{fl|1|Start On}}
{{fl|2|No world collision|Disable world collisions on hinges}}
{{fl|4|Hinge Object|Motor also acts as a hinge constraining the object to this axis}}
{{fl|8|Orient Locally|Maintain local relationship with the attached object ([[FGD]] comment: "NOT WORKING YET")}}
== Inputs ==
{{IO|SetSpeed|Sets target speed|param=float}}
{{IO|TurnOn|Turns motor on}}
{{IO|TurnOff|Turns motor off}}
[[Category:Forces]]

Latest revision as of 13:15, 26 January 2024