Navigation
API > API/Plugins > API/Plugins/PhysicsControl > API/Plugins/PhysicsControl/UPhysicsControlComponent
References
| Module | PhysicsControl |
| Header | /Engine/Plugins/Experimental/PhysicsControl/Source/PhysicsControl/Public/PhysicsControlComponent.h |
| Include | #include "PhysicsControlComponent.h" |
| Source | /Engine/Plugins/Experimental/PhysicsControl/Source/PhysicsControl/Private/PhysicsControlComponentImpl.cpp |
void CalculateControlTargetData
(
FTransform & OutTargetTM,
FTransform & OutSkeletalTargetTM,
FVector & OutTargetVelocity,
FVector & OutTargetAngularVelocity,
const FPhysicsControlRecord & Record,
bool bUsePreviousSkeletalTargetTM
) const
Remarks
Calculates the Target TM and velocities that will get passed to the constraint - so this is a target that is defined in the space of the parent body (or in world space, if it doesn't exist).