Garry's Mod Wiki

Revision Difference

PhysObj:ApplyTorqueCenter#527290

<function name="ApplyTorqueCenter" parent="PhysObj" type="classfunc"> <description>Applies specified torque to the physics object.</description>⤶ <description>Applies specified angular impulse to the physics object. See <page>PhysObj:CalculateForceOffset</page></description>⤶ <realm>Shared</realm> <args> <arg name="torque" type="Vector">The torque to be applied in kg * degrees / s.</arg> <arg name="torque" type="Vector">The angular impulse to be applied in `kg * degrees / s` (verification needed).</arg> </args> </function>