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 parameters.
Functions
Link copied to clipboard
Gets the dynamic friction of the physics material.
Link copied to clipboard
Gets the restitution of the physics material.
Link copied to clipboard
Gets the static friction of the physics material.
Link copied to clipboard
Sets the dynamic friction of the physics material.
Link copied to clipboard
Sets the restitution of the physics material.
Link copied to clipboard
Sets the static friction of the physics material.