unreal.ChaosPhysicalMaterial

class unreal.ChaosPhysicalMaterial(outer=None, name='None')

Bases: unreal.Object

Physical materials are used to define the response of a physical object when interacting dynamically with the world.

C++ Source:

  • Module: Engine
  • File: ChaosPhysicalMaterial.h

Editor Properties: (see get_editor_property/set_editor_property)

  • friction (float): [Read-Write] Friction value of surface, controls how easily things can slide on this surface (0 is frictionless, higher values increase the amount of friction)
  • restitution (float): [Read-Write] Restitution or ‘bounciness’ of this surface, between 0 (no bounce) and 1 (outgoing velocity is same as incoming).
  • sleeping_angular_velocity_threshold (float): [Read-Write] How much to scale the damage threshold by on any destructible we are applied to
  • sleeping_linear_velocity_threshold (float): [Read-Write] How much to scale the damage threshold by on any destructible we are applied to
friction

(float) – [Read-Only] Friction value of surface, controls how easily things can slide on this surface (0 is frictionless, higher values increase the amount of friction)

restitution

(float) – [Read-Only] Restitution or ‘bounciness’ of this surface, between 0 (no bounce) and 1 (outgoing velocity is same as incoming).

sleeping_angular_velocity_threshold

(float) – [Read-Only] How much to scale the damage threshold by on any destructible we are applied to

sleeping_linear_velocity_threshold

(float) – [Read-Only] How much to scale the damage threshold by on any destructible we are applied to