unreal.RigDynamicsTeleportDetectionSettings¶
- class unreal.RigDynamicsTeleportDetectionSettings(from_position_change: bool = False, position_change_threshold: float = 0.0, from_orientation_change: bool = False, orientation_change_threshold: float = 0.0, from_linear_acceleration: bool = False, linear_acceleration_threshold: float = 0.0, from_angular_acceleration: bool = False, angular_acceleration_threshold: float = 0.0)¶
Bases:
StructBaseTeleport-detection thresholds based on the movement of the simulation space. These operate on raw deltas in the simulation-space transform (not on the animation pose itself). When any threshold is crossed the solver zeroes velocities/accelerations for the frame without resetting the simulation pose.
C++ Source:
Plugin: ControlRigDynamics
Module: ControlRigDynamics
File: RigDynamicsData.h
Editor Properties: (see get_editor_property/set_editor_property)
angular_acceleration_threshold(float): [Read-Write] If the angular acceleration (deg/s/s) of the simulation space is above this threshold, the movement is treated as a teleport.from_angular_acceleration(bool): [Read-Write]from_linear_acceleration(bool): [Read-Write]from_orientation_change(bool): [Read-Write]from_position_change(bool): [Read-Write]linear_acceleration_threshold(float): [Read-Write] If the linear acceleration of the simulation space is above this threshold, the movement is treated as a teleport.orientation_change_threshold(float): [Read-Write] If the angular change (degrees) of the simulation space is above this threshold, the movement is treated as a teleport.position_change_threshold(float): [Read-Write] If the linear position change of the simulation space is above this threshold, the movement is treated as a teleport.
- property angular_acceleration_threshold: float¶
[Read-Only] If the angular acceleration (deg/s/s) of the simulation space is above this threshold, the movement is treated as a teleport.
- Type:
(float)
- property linear_acceleration_threshold: float¶
[Read-Only] If the linear acceleration of the simulation space is above this threshold, the movement is treated as a teleport.
- Type:
(float)