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: PhysicsCore

  • File: ChaosPhysicalMaterial.h

Editor Properties: (see get_editor_property/set_editor_property)

  • angular_ether_drag (float): [Read-Write] Angular Ether Drag: Uniform angular ether drag, the resistance a body experiences to its rotation.

  • friction (float): [Read-Write] Friction: Friction value of a surface in motion, controls how easily things can slide on this surface (0 is frictionless, higher values increase the amount of friction)

  • linear_ether_drag (float): [Read-Write] Linear Ether Drag: Uniform linear ether drag, the resistance a body experiences to its translation.

  • restitution (float): [Read-Write] Restitution: 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] Sleeping Angular Velocity Threshold: How much to scale the damage threshold by on any destructible we are applied to

  • sleeping_linear_velocity_threshold (float): [Read-Write] Sleeping Linear Velocity Threshold: How much to scale the damage threshold by on any destructible we are applied to

  • static_friction (float): [Read-Write] Static Friction: Friction value of surface at rest, controls how easily things can slide on this surface (0 is frictionless, higher values increase the amount of friction)

property angular_ether_drag

[Read-Only] Angular Ether Drag: Uniform angular ether drag, the resistance a body experiences to its rotation.

Type

(float)

property friction

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

Type

(float)

property linear_ether_drag

[Read-Only] Linear Ether Drag: Uniform linear ether drag, the resistance a body experiences to its translation.

Type

(float)

property restitution

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

Type

(float)

property sleeping_angular_velocity_threshold

[Read-Only] Sleeping Angular Velocity Threshold: How much to scale the damage threshold by on any destructible we are applied to

Type

(float)

property sleeping_linear_velocity_threshold

[Read-Only] Sleeping Linear Velocity Threshold: How much to scale the damage threshold by on any destructible we are applied to

Type

(float)

property static_friction

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

Type

(float)