Garry's Mod Wiki

Revision Difference

PhysObj:ApplyTorqueCenter#546335

<function name="ApplyTorqueCenter" parent="PhysObj" type="classfunc"> <description>Applies specified angular impulse to the physics object. See <page>PhysObj:CalculateForceOffset</page></description> <description>Applies the specified angular impulse to the physics object. See <page>PhysObj:CalculateForceOffset</page></description> <realm>Shared</realm> <args> <arg name="torque" type="Vector">The angular impulse to be applied in `kg * degrees / s` (verification needed).</arg>⤶ <arg name="angularImpulse" type="Vector">The angular impulse to be applied in `kg * m^2 * degrees / s`.⤶ <note>⤶ The unit conversion between meters and source units in this case is `1 meter ≈ 39.37 source units (100/2.54 exactly)`⤶ </note>⤶ </arg>⤶ </args> </function>