Bounciness, or restitution, for dynamic bodies. This is the proportion of energy preserved after a collision, in the range 0 to 1.
Coefficient of friction.
The name of the Asset in Lens Studio.
Friction applied to rolling objects. This isn't physically realistic, but helps prevent objects from rolling indefinitely.
Friction applied to spinning objects. This isn't physically realistic, but helps prevent objects from spinning indefinitely.
Bounciness (AKA restitution), for static colliders. This is the proportion of energy preserved after a collision, in the range 0 to 1.
ReadonlyuniqueReturns the name of this object's type.
Returns true if the object matches or derives from the passed in type.
Returns true if this object is the same as other. Useful for checking if two references point to the same thing.
Settings for the physical substance, such as friction and bounciness, of a collider. If unset, uses the default matter from the world settings.
Example