Tutorial: Physics Material

Physics Material

physics_material

Material component to represent a set of surface properties.

Attributes

Attribute Type Default Description
staticFriction float 0.5 The coefficient of static friction
dynamicFriction float 0.5 The coefficient of dynamic friction
restitution float 0.5 The coefficient of static restitution
isTrigger bool false Whether to consider the collision shape associated to this material as a trigger or not