Garry's Mod Wiki

Revision Difference

PhysObj:SetVelocity#546363

<function name="SetVelocity" parent="PhysObj" type="classfunc"> <description>Sets the velocity of the physics object for the next iteration.</description> <realm>Shared</realm> <args> <arg name="velocity" type="Vector">The new velocity of the physics object.</arg> <arg name="velocity" type="Vector">The new velocity of the physics object in `source_unit/s`. (World frame)</arg> </args> </function>