PhysObj/GetSurfaceArea

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
 
Line 1: Line 1:
 
{{Func
 
{{Func
|Description=Returns the surface area of the physics object in source-units².
+
|Description=Returns the surface area of the physics object in source-units². Or nil if the PhysObj is a generated sphere or box.
 
|Realm=Shared
 
|Realm=Shared
 
|IsClass=Yes
 
|IsClass=Yes

Latest revision as of 01:14, 10 January 2020

 PhysObj:GetSurfaceArea( )

Description

Returns the surface area of the physics object in source-units². Or nil if the PhysObj is a generated sphere or box.

Returns

number

The surface area or nil if the PhysObj is a generated sphere or box.
Personal tools
Navigation