Garry's Mod Wiki

PhysObj:GetFrictionSnapshot

Description

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

Returns

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

Page Links


Special Pages


Wikis

?

Render Time: 38ms

DB GetPage 4
Generate Html 15
SaveChanges (1) 9
Render Body 0
Render Sidebar 7