SetTargetLocation sets the hit impactPoint and not the objects origin

When calling the function

PhysicsHandleComponent::SetTargetLocation(newPosition)

what actually happens in-game is that the impactPoint of the trace detection is actually moved to the ‘newPosition’ parameter, and not the grabbed object’s origin. So for example, if you grab the table by the edge, it will be off-center if you constrain rotation and it will dangle from the edge if you allow rotation.

Was this behavior changed in the new UE4 versions? I read the documentation for the SetTargetLocation function but it does not specify what is meant by target location.
I’m using 4.16, thanks.

Privacy & Terms