PhysicsMaterial.rough

If true, the physics engine will use the friction of the object marked as "rough" when two objects collide. If false, the physics engine will use the lowest friction of all colliding objects instead. If true for both colliding objects, the physics engine will use the highest friction.

  1. bool rough [@property getter]
    struct PhysicsMaterial
    @nogc nothrow @property
    bool
    rough
    ()
  2. bool rough [@property setter]

Meta