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)
Line 2: Line 2:
 
|Description=Makes the physics object of the entity a AABB.
 
|Description=Makes the physics object of the entity a AABB.
  
'''Warning!''' This function will automatically call {{ClassFunction|Entity|SetSolid}}( SOLID_BBOX )
+
{{Note|This function will automatically call {{ClassFunction|Entity|SetSolid}}( SOLID_BBOX )}}
 
|Realm=Shared
 
|Realm=Shared
 
|IsClass=Yes
 
|IsClass=Yes

Revision as of 09:43, 23 August 2016

 Entity:PhysicsInitBox( )

Description

Makes the physics object of the entity a AABB.

NOTE

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