Entity/PhysicsInitSphere

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Added argument #2)
Line 1: Line 1:
 
{{Func
 
{{Func
|Name=PhysicsInitSphere
 
|Parent=Entity
 
 
|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 )
 
|Realm=Shared
 
|Realm=Shared
 
|IsClass=Yes
 
|IsClass=Yes
 +
|Name=PhysicsInitSphere
 +
|Parent=Entity
 
}}
 
}}
 
{{Arg
 
{{Arg

Revision as of 22:29, 4 March 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