Skip to content

PhysicsMaterial

Functions

  • GetDensity(): Get the density, which sets the body's mass from its area
  • GetFriction(): Get the friction coefficient
  • GetRestitution(): Get the bounciness (0 none, 1 fully elastic)
  • SetDensity(): Set the density, which sets the body's mass from its area
  • SetFriction(): Set the friction coefficient
  • SetRestitution(): Set the bounciness (0 none, 1 fully elastic)