Garry's Mod Wiki


  table PhysObj:GetFrictionSnapshot()


Returns the friction snapshot of this physics object. This is useful for determining if an object touching ground for example.


1 table
A table of tables containing the following data:
  • PhysObj Other - The other physics object we came in contact with
  • number EnergyAbsorbed -
  • number FrictionCoefficient -
  • number NormalForce -
  • Vector Normal - Direction of the friction event
  • Vector ContactPoint - Contact point of the friction event
  • number Material - Surface Property ID of our physics obj
  • number MaterialOther - Surface Property ID of the physics obj we came in contact with