unreal.RigUnit_MakeDriveData¶
- class unreal.RigUnit_MakeDriveData(enable_linear_drive: bool = False, linear_strength: float = 0.0, linear_damping_ratio: float = 0.0, linear_extra_damping: float = 0.0, enable_angular_drive: bool = False, angular_drive_mode: AngularDriveMode = Ellipsis, angular_strength: float = 0.0, angular_damping_ratio: float = 0.0, angular_extra_damping: float = 0.0, skeletal_animation_velocity_multiplier: float = 0.0, drive_data: RigPhysicsDriveData = [])¶
Bases:
RigUnit_PhysicsBaseHelper to simplify creation of drive data
C++ Source:
Plugin: ControlRigPhysics
Module: ControlRigPhysics
File: RigPhysicsJointExecution.h
Editor Properties: (see get_editor_property/set_editor_property)
angular_damping_ratio(float): [Read-Write] The amount of damping associated with the angular strength. A value of 1 Results in critically damped motion where the control drives as quickly as possible to the target without overshooting. Values > 1 result in more damped motion, and values below 1 result in faster, but more “wobbly” motion.angular_drive_mode(AngularDriveMode): [Read-Write] The type of drive. Note that SLERP drives don’t work if any axis is lockedangular_extra_damping(float): [Read-Write] The amount of additional angular damping. This is added to the damping that comes from AngularDampingRatio and can be useful when you want damping even when AngularStrength is zero.angular_strength(float): [Read-Write] The strength used to drive angular motiondrive_data(RigPhysicsDriveData): [Read-Write]enable_angular_drive(bool): [Read-Write] Whether to enable the angular driveenable_linear_drive(bool): [Read-Write] Whether to enable the linear drive (not normally used for character joints)linear_damping_ratio(float): [Read-Write] The amount of damping associated with the linear strength. A value of 1 Results in critically damped motion where the control drives as quickly as possible to the target without overshooting. Values > 1 result in more damped motion, and values below 1 result in faster, but more “wobbly” motion.linear_extra_damping(float): [Read-Write] The amount of additional linear damping. This is added to the damping that comes from LinearDampingRatio and can be useful when you want damping even when LinearStrength is zero.linear_strength(float): [Read-Write] The strength used to drive linear motionskeletal_animation_velocity_multiplier(float): [Read-Write] The amount of skeletal animation velocity to use in the targets
- property angular_damping_ratio: float¶
[Read-Write] The amount of damping associated with the angular strength. A value of 1 Results in critically damped motion where the control drives as quickly as possible to the target without overshooting. Values > 1 result in more damped motion, and values below 1 result in faster, but more “wobbly” motion.
- Type:
(float)
- property angular_drive_mode: AngularDriveMode¶
[Read-Write] The type of drive. Note that SLERP drives don’t work if any axis is locked
- Type:
- property angular_extra_damping: float¶
[Read-Write] The amount of additional angular damping. This is added to the damping that comes from AngularDampingRatio and can be useful when you want damping even when AngularStrength is zero.
- Type:
(float)
- property angular_strength: float¶
[Read-Write] The strength used to drive angular motion
- Type:
(float)
- property drive_data: RigPhysicsDriveData¶
[Read-Only]
- Type:
- property enable_linear_drive: bool¶
[Read-Write] Whether to enable the linear drive (not normally used for character joints)
- Type:
(bool)
- property linear_damping_ratio: float¶
[Read-Write] The amount of damping associated with the linear strength. A value of 1 Results in critically damped motion where the control drives as quickly as possible to the target without overshooting. Values > 1 result in more damped motion, and values below 1 result in faster, but more “wobbly” motion.
- Type:
(float)
- property linear_extra_damping: float¶
[Read-Write] The amount of additional linear damping. This is added to the damping that comes from LinearDampingRatio and can be useful when you want damping even when LinearStrength is zero.
- Type:
(float)