unreal.PhysicsControlModifierData

class unreal.PhysicsControlModifierData(movement_type: PhysicsMovementType = Ellipsis, collision_type: CollisionEnabled = Ellipsis, kinematic_target_space: PhysicsControlKinematicTargetSpace = Ellipsis, gravity_multiplier: float = 0.0, physics_blend_weight: float = 0.0, update_kinematic_from_simulation: bool = False)

Bases: StructBase

Analogous to the ControlData, this indicates how an individual controlled body should move

C++ Source:

  • Plugin: PhysicsControl

  • Module: PhysicsControl

  • File: PhysicsControlData.h

Editor Properties: (see get_editor_property/set_editor_property)

  • collision_type (CollisionEnabled): [Read-Write] The collision type. Note that PhysicsControlComponent uses the full filtering, but RigidBodyWithControl just treats this as enable/disable collision

  • gravity_multiplier (float): [Read-Write] How much gravity to use when simulating - typically between 0 and 1

  • kinematic_target_space (PhysicsControlKinematicTargetSpace): [Read-Write] The space in which kinematic targets should operate

  • movement_type (PhysicsMovementType): [Read-Write] How the body should move.

  • physics_blend_weight (float): [Read-Write] When converting back from simulation to animation, how much to use the simulation output versus the original animation input. Note - this is not used in RBWC

  • update_kinematic_from_simulation (bool): [Read-Write] If true then the associated actor’s transform will be updated from the simulation when it is kinematic. This is most likely useful when using async physics in order to prevent different parts of the skeleton from being torn apart. Note - this is not used in RBWC

property collision_type: CollisionEnabled

[Read-Write] The collision type. Note that PhysicsControlComponent uses the full filtering, but RigidBodyWithControl just treats this as enable/disable collision

Type:

(CollisionEnabled)

property gravity_multiplier: float

[Read-Write] How much gravity to use when simulating - typically between 0 and 1

Type:

(float)

property kinematic_target_space: PhysicsControlKinematicTargetSpace

[Read-Only] The space in which kinematic targets should operate

Type:

(PhysicsControlKinematicTargetSpace)

property movement_type: PhysicsMovementType

[Read-Write] How the body should move.

Type:

(PhysicsMovementType)

property physics_blend_weight: float

[Read-Write] When converting back from simulation to animation, how much to use the simulation output versus the original animation input. Note - this is not used in RBWC

Type:

(float)

property update_kinematic_from_simulation: bool

[Read-Write] If true then the associated actor’s transform will be updated from the simulation when it is kinematic. This is most likely useful when using async physics in order to prevent different parts of the skeleton from being torn apart. Note - this is not used in RBWC

Type:

(bool)