PhysObj.GetAngleVelocity
From GMod Wiki
| Function | |
| Syntax | PhysObj:GetAngleVelocity( ) |
| Description: | |
| Gets the angular velocity of a physics object. | |
| Returns: | Vector |
| In Object: | Physobj |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=PhysObj.GetAngleVelocity]PhysObj.GetAngleVelocity [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
Additional Notes
- If you want to get movement speed, look at Entity.GetVelocity.
- It appears that x is pitch, y is roll, and z is yaw - the rotation is over the respective axis.
- The returned value appears to be relative, not absolute.