unreal.PhysicsControl
¶
- class unreal.PhysicsControl(parent_bone_name: Name = 'None', child_bone_name: Name = 'None', control_data: PhysicsControlData = Ellipsis, control_multiplier: PhysicsControlMultiplier = Ellipsis)¶
Bases:
StructBase
Structure that determines a “control” - this contains all the information needed to drive (with spring-dampers) a child body relative to a parent body. These bodies will be associated with either a static or skeletal mesh.
C++ Source:
Plugin: PhysicsControl
Module: PhysicsControl
File: PhysicsControlData.h
Editor Properties: (see get_editor_property/set_editor_property)
child_bone_name
(Name): [Read-Write] The name of the skeletal mesh bone or the name of the static mesh body that the control will be driving.control_data
(PhysicsControlData): [Read-Write] Strength and damping parameters. Can be modified at any time, but will sometimes have been set once during initializationcontrol_multiplier
(PhysicsControlMultiplier): [Read-Write] Multiplier for the ControlData. This will typically be modified dynamically, and also expose the ability to set directional strengthsparent_bone_name
(Name): [Read-Write] The name of the skeletal mesh bone or the name of the static mesh body that will be doing the driving.
- property child_bone_name: Name¶
[Read-Write] The name of the skeletal mesh bone or the name of the static mesh body that the control will be driving.
- Type:
(Name)
- property control_data: PhysicsControlData¶
[Read-Write] Strength and damping parameters. Can be modified at any time, but will sometimes have been set once during initialization
- Type:
- property control_multiplier: PhysicsControlMultiplier¶
[Read-Write] Multiplier for the ControlData. This will typically be modified dynamically, and also expose the ability to set directional strengths
- Type: