Garry's Mod Wiki



  Vector, Vector, number Entity:GetBrushPlane( number id )


Returns info about given plane of non-nodraw brush model surfaces of the entity's model. Works on worldspawn as well.

This only works on entities with brush models.


1 number id
The index of the plane to get info of. Starts from 0.


1 Vector
The origin of the plane.

This will be either the first vertex's position (if available) or the plane's normal multiplied by the plane's distance.

2 Vector
The normal of the plane.
3 number
The "distance" of the plane.

The distance is the dot product of the plane's normal and the point it was initialized with.

Special Pages



Render Time: 62ms

DB GetPage 42
Generate Html 4
SaveChanges (1) 7
Render Body 0
Render Sidebar 6