Entity.PhysicsInitSphere
From GMod Wiki
Function | |
Syntax | Entity:PhysicsInitSphere( Float radius[, String material] ) |
Description: | |
In a scripted entity's initilization event, this function will give the entity a spherical physics model. The radius is the radius of the sphere. | |
Returns: | nil |
In Object: | Entity |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Entity.PhysicsInitSphere]Entity.PhysicsInitSphere [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- Radius is measured in world units.
- Using this will make the PhysicsUpdate hook in your SENT stop being called - Make sure to wake the physics object after initializing a physics sphere