Garry's Mod Wiki

Garry's Mod Wiki

A PhysCollide holds collision data from VPhysics. These objects can be used to run (currently quite limited) collision tests, but do not represent actual physics objects.

Created by CreatePhysCollideBox or CreatePhysCollidesFromModel.

Methods

PhysCollide:Destroy()
Destroys the PhysCollide object.
boolean PhysCollide:IsValid()
Checks whether this PhysCollide object is valid or not. You should just use IsValid instead.
Vector, Vector, number PhysCollide:TraceBox( Vector origin, Angle angles, Vector rayStart, Vector rayEnd, Vector rayMins, Vector rayMaxs )
Performs a trace against this PhysCollide with the given parameters. This can be used for both line traces and box traces.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...