CreatePhysCollideBox
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.