PhysObj/GetSurfaceArea

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
Line 6: Line 6:
 
{{Ret
 
{{Ret
 
|type=number
 
|type=number
|desc=The surface area
+
|desc=The surface area or nil if the PhysObj is a generated sphere or box.
 
}}
 
}}

Revision as of 01:13, 10 January 2020

 PhysObj:GetSurfaceArea( )

Description

Returns the surface area of the physics object in source-units².

Returns

number

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