PhysicsMaterialResource
A resource type used to define the properties of physics materials, such as friction and restitution.
Constructors
Link copied to clipboard
constructor(staticFriction: Float = 0.6f, dynamicFriction: Float = 0.6f, restitution: Float = 0.0f)
Constructs a PhysicsMaterialResource by specifying params.
Functions
Link copied to clipboard
Gets the dynamic friction of a physics material.
Link copied to clipboard
Gets the restitution of a physics material.
Link copied to clipboard
Gets the static friction of a physics material.
Link copied to clipboard
Sets the dynamic friction of a physics material.
Link copied to clipboard
Sets the restitution of a physics material.
Link copied to clipboard
Sets the static friction of a physics material.