Entity/PhysicsInitSphere

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Warning template, I can understand why this one would be counter intuitive)
Line 2: Line 2:
 
|Description=Makes the physics object of the entity a sphere.
 
|Description=Makes the physics object of the entity a sphere.
  
'''Warning!''' 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:PhysicsInitSphere( )

Description

Makes the physics object of the entity a sphere.

WARNING

This function will automatically call Entity:SetSolid( SOLID_BBOX )

Arguments

number radius

The radius of the sphere.

Arguments

string physmat

Physical Material. From this list: Valve Developer
Personal tools
Navigation