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:
StructBaseAnalogous 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 collisiongravity_multiplier(float): [Read-Write] How much gravity to use when simulating - typically between 0 and 1kinematic_target_space(PhysicsControlKinematicTargetSpace): [Read-Write] The space in which kinematic targets should operatemovement_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 RBWCupdate_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:
- 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
- property movement_type: PhysicsMovementType¶
[Read-Write] How the body should move.
- Type:
- 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)