unreal.StaticMeshSimulationComponent

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

Bases: unreal.ActorComponent

Static Mesh Simulation Component

C++ Source:

  • Module: GeometryCollectionEngine

  • File: StaticMeshSimulationComponent.h

Editor Properties: (see get_editor_property/set_editor_property)

  • asset_user_data (Array(AssetUserData)): [Read-Write] Array of user data stored with the component

  • auto_activate (bool): [Read-Write] Whether the component is activated at creation or must be explicitly activated.

  • can_ever_affect_navigation (bool): [Read-Write] Whether this component can potentially influence navigation

  • chaos_solver_actor (ChaosSolverActor): [Read-Write] Chaos RBD Solver

  • collision_type (CollisionTypeEnum): [Read-Write] CollisionType defines how to initialize the rigid collision structures.

  • component_tags (Array(Name)): [Read-Write] Array of tags that can be used for grouping and categorizing. Can also be accessed from scripting.

  • damage_threshold (float): [Read-Write] Damage threshold for clusters.

  • editable_when_inherited (bool): [Read-Write] True if this component can be modified when it was inherited from a parent actor class

  • implicit_type (ImplicitTypeEnum): [Read-Write] CollisionType defines how to initialize the rigid collision structures.

  • initial_angular_velocity (Vector): [Read-Write] Initial Angular Velocity

  • initial_linear_velocity (Vector): [Read-Write] Initial Linear Velocity

  • initial_velocity_type (InitialVelocityTypeEnum): [Read-Write] Initial Velocity Type

  • is_editor_only (bool): [Read-Write] If true, the component will be excluded from non-editor builds

  • mass (float): [Read-Write] Mass in Kg

  • max_level_set_resolution (int32): [Read-Write] * Resolution on the smallest axes for the level set. (def: 10)

  • min_level_set_resolution (int32): [Read-Write] * Resolution on the smallest axes for the level set. (def: 5)

  • notify_collisions (bool): [Read-Write] If true, this component will get collision notification events ( see: IChaosNotifyHandlerInterface)

  • object_type (ObjectStateTypeEnum): [Read-Write] ObjectType defines how to initialize the rigid collision structures.

  • on_chaos_physics_collision (OnChaosPhysicsCollision): [Read-Write] On Chaos Physics Collision

  • on_component_activated (ActorComponentActivatedSignature): [Read-Write] Called when the component has been activated, with parameter indicating if it was from a reset

  • on_component_deactivated (ActorComponentDeactivateSignature): [Read-Write] Called when the component has been deactivated

  • physical_material (ChaosPhysicalMaterial): [Read-Write] Physical Properties

  • primary_component_tick (ActorComponentTickFunction): [Read-Write] Main tick function for the Component

  • replicates (bool): [Read-Write] Is this component currently replicating? Should the network code consider it for replication? Owning Actor must be replicating first!

  • simulating (bool): [Read-Write] When Simulating is enabled the Component will initialize its rigid bodies within the solver.

property collision_type

[Read-Write] CollisionType defines how to initialize the rigid collision structures.

Type

(CollisionTypeEnum)

property damage_threshold

[Read-Write] Damage threshold for clusters.

Type

(float)

force_recreate_physics_state()None

Changes whether or not this component will get future break notifications.

property implicit_type

[Read-Write] CollisionType defines how to initialize the rigid collision structures.

Type

(ImplicitTypeEnum)

property initial_angular_velocity

[Read-Write] Initial Angular Velocity

Type

(Vector)

property initial_linear_velocity

[Read-Write] Initial Linear Velocity

Type

(Vector)

property initial_velocity_type

[Read-Write] Initial Velocity Type

Type

(InitialVelocityTypeEnum)

property mass

[Read-Write] Mass in Kg

Type

(float)

property max_level_set_resolution
Type

(int32)

Type

[Read-Only] * Resolution on the smallest axes for the level set. (def

property min_level_set_resolution
Type

(int32)

Type

[Read-Only] * Resolution on the smallest axes for the level set. (def

property notify_collisions

[Read-Write] If true, this component will get collision notification events ( see: IChaosNotifyHandlerInterface)

Type

(bool)

property object_type

[Read-Write] ObjectType defines how to initialize the rigid collision structures.

Type

(ObjectStateTypeEnum)

property on_chaos_physics_collision

[Read-Write] On Chaos Physics Collision

Type

(OnChaosPhysicsCollision)

property physical_material

[Read-Only] Physical Properties

Type

(ChaosPhysicalMaterial)

receive_physics_collision(collision_info)None

Receive Physics Collision

Parameters

collision_info (ChaosPhysicsCollisionInfo) –

property simulating

[Read-Write] When Simulating is enabled the Component will initialize its rigid bodies within the solver.

Type

(bool)