PhysicsMaterial

Inherits: Resource < Reference < Object

Category: Core

Brief Description

A material for physics properties.

Description

Provides a means of modifying the collision properties of a PhysicsBody.

Property Descriptions

Setter set_absorbent(value)
Getter is_absorbent()
Setter set_bounce(value)
Getter get_bounce()

The body’s bounciness. Default value: 0.

Setter set_friction(value)
Getter get_friction()

The body’s friction. Values range from 0 (frictionless) to 1 (maximum friction). Default value: 1.

Setter set_rough(value)
Getter is_rough()