new PhysicsMaterial(friction, restitution)
Parameters:
Name | Type | Description |
---|---|---|
friction |
Defines how hard it is to move an object resting on this material. |
|
restitution |
Defines how much an object that hits the material bounces. |
Members
-
friction
-
Defines how hard it is to move an object resting on this material.
-
restitution
-
The "bounciness" of this material.