PhysicsMaterial (Physical Property Material)
Class | Type | Name | Interface Description |
---|---|---|---|
PhysicsMaterial : XObject | Variables | staticFriction : number | Static Friction |
Example
material.staticFriction = 0.5
Class | Type | Name | Interface Description |
---|---|---|---|
PhysicsMaterial : XObject | Variables | dynamicFriction : number | Dynamic Friction |
Example
material.dynamicFriction = 0.3;
Class | Type | Name | Interface Description |
---|---|---|---|
PhysicsMaterial : XObject | Variables | bounciness : number | Elasticity |
Example
material.bounciness = 0.7;