Garry's Mod Wiki
Description
Creates a new PhysCollide from the given bounds.
This fails to create planes or points - no components of the mins or maxs can be the same.
Issue Tracker: 3568
Issue Tracker: 3568
Arguments
1 Vector mins
Min corner of the box. This is not automatically ordered with the maxs and must contain the smallest vector components. See OrderVectors.
2 Vector maxs
Max corner of the box. This is not automatically ordered with the mins and must contain the largest vector components.
Returns
1 PhysCollide
The new PhysCollide. This will be a NULL PhysCollide (PhysCollide:IsValid returns false) if given bad vectors or no more PhysCollides can be created in the physics engine.
Example
A box that interacts correctly with VPhysics objects and player movement.
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...