PhysObj.OutputDebugInfo

From GMod Wiki

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