Garry's Mod Wiki
PhysObj:OutputDebugInfo()
Description
Prints debug info about the state of the physics object to the console.
Example
Outputs physics info about the entity the player is looking at to the console.
Output: -----------------
Object: models/props_borealis/bluebarrel001.mdl
Mass: 60.0 (inv 0.017)
Inertia: 8.69, 8.69, 2.46 (inv 0.115, 0.115, 0.406)
Velocity: 0.00, 0.00, -0.00
Ang Velocity: 0.00, 0.00, -0.00
Damping 0.00 linear, 0.00 angular
Linear Drag: 0.02, 0.01, 0.01 (factor 1.00)
Angular Drag: 0.01, 0.02, 0.01 (factor 1.00)
attached to 5 controllers
4) sys:friction
3) sys:friction
2) sys:friction
1) vphysics:drag
0) sys:gravity
State: Asleep, Collision Enabled, Motion Enabled, Flags 1127 (game 0000, index 0)
Material: plastic_barrel : density(500.0), thickness(0.25), friction(0.80), elasticity(0.01)
CollisionModel: Compact Surface: 1 convex pieces no outer hull
This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated twice a day. Edits and history are not available.
Last Parsed: Loading...