PhysObj.OutputDebugInfo

From GMod Wiki

Revision as of 04:28, 2 June 2010 by Crazy Quebecer (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
Syntax PhysObj.OutputDebugInfo( )
Where is this used?
Description:
Prints info about the physics object to console.
Returns: nil
Part of Library: PhysObj
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=PhysObj.OutputDebugInfo]PhysObj.OutputDebugInfo [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionPrints info about the world's physics object.
Used onNewerServer.png
Code
local phys = GetWorldEntity():GetPhysicsObject()
 
if (phys:IsValid()) then
	phys:OutputDebugInfo()
end
OutputDebug info in console.
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox