Garry's Mod Wiki

PhysObj:SetVelocity

  PhysObj:SetVelocity( Vector velocity )

Description

Sets the velocity of the physics object for the next iteration.

Arguments

1 Vector velocity
The new velocity of the physics object in source_unit/s. (World frame)