GrabComponent

Hi,

UE4.17 is throwing a Deprecation for this function, I cleared the warning by changing to GrabComponentAtLocationWithRotation - Which behaves exactly the same way as the original function.

Code Example:
PhysicsHandle->GrabComponentAtLocationWithRotation(TargetComponent, NAME_None, TargetComponent->GetOwner()->GetActorLocation(), FRotator().ZeroRotator);

2 Likes

Very useful, thanks.
They really need to do an edit to the video for this!

Privacy & Terms