Garry's Mod Wiki

PhysObj:GetPositionMatrix

VMatrix PhysObj:GetPositionMatrix()

Description

Returns the position and angle of the physics object as a 3x4 matrix (VMatrix is 4x4 so the fourth row goes unused). The first three columns store the angle as a rotation matrix, and the fourth column stores the position vector.

Returns

1 VMatrix
The position and angle matrix.

Page Links


Special Pages


Wikis

?

Render Time: 64ms

DB GetPage 32
Generate Html 8
SaveChanges (1) 9
Render Body 0
Render Sidebar 13