Entity/PhysicsInitBox

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Is this really a warning though? It makes sense it'd set it as a SOLID_BBOX, turned into note)
m (Switched back to warning)
Line 2: Line 2:
 
|Description=Makes the physics object of the entity a AABB.
 
|Description=Makes the physics object of the entity a AABB.
  
{{Note|This function will automatically call {{ClassFunction|Entity|SetSolid}}( SOLID_BBOX )}}
+
{{Warning|This function will automatically call {{ClassFunction|Entity|SetSolid}}( SOLID_BBOX )}}
 
|Realm=Shared
 
|Realm=Shared
 
|IsClass=Yes
 
|IsClass=Yes

Revision as of 09:44, 23 August 2016

 Entity:PhysicsInitBox( )

Description

Makes the physics object of the entity a AABB.

WARNING

This function will automatically call Entity:SetSolid( SOLID_BBOX )

Arguments

Vector mins

The minimum position of the box.

Arguments

Vector maxs

The maximum position of the box.
Personal tools
Navigation