unreal.RigUnit_GetPhysicsSolverSpaceData

class unreal.RigUnit_GetPhysicsSolverSpaceData(physics_solver_component_key: RigComponentKey = Ellipsis, linear_velocity: Vector = Ellipsis, angular_velocity: Vector = Ellipsis, linear_acceleration: Vector = Ellipsis, angular_acceleration: Vector = Ellipsis, gravity: Vector = Ellipsis)

Bases: RigUnit_PhysicsBase

Retrieves the simulation space data that were generated during the simulation step, so the values returned will relate to the previous update if the solver has not yet been stepped.

C++ Source:

  • Plugin: ControlRigPhysics

  • Module: ControlRigPhysics

  • File: RigPhysicsSolverExecution.h

Editor Properties: (see get_editor_property/set_editor_property)

  • angular_acceleration (Vector): [Read-Write] The angular acceleration of the simulation space (in world space)

  • angular_velocity (Vector): [Read-Write] The angular velocity of the simulation space (in world space)

  • gravity (Vector): [Read-Write] The gravitational acceleration that will be applied (in simulation space)

  • linear_acceleration (Vector): [Read-Write] The linear acceleration of the simulation space (in world space)

  • linear_velocity (Vector): [Read-Write] The velocity of the simulation space (in world space)

  • physics_solver_component_key (RigComponentKey): [Read-Write] The solver to relate this new physics element to

property angular_acceleration: Vector

[Read-Only] The angular acceleration of the simulation space (in world space)

Type:

(Vector)

property angular_velocity: Vector

[Read-Only] The angular velocity of the simulation space (in world space)

Type:

(Vector)

property gravity: Vector

[Read-Only] The gravitational acceleration that will be applied (in simulation space)

Type:

(Vector)

property linear_acceleration: Vector

[Read-Only] The linear acceleration of the simulation space (in world space)

Type:

(Vector)

property linear_velocity: Vector

[Read-Only] The velocity of the simulation space (in world space)

Type:

(Vector)

property physics_solver_component_key: RigComponentKey

[Read-Write] The solver to relate this new physics element to

Type:

(RigComponentKey)