Not picking up table / 2 errors / still builds

Hi all

I’m using 4.19.2
I can not pick up the table
I have 2 errors

it still builds
Capture_003

on line 62 I have a red line under ComponentToGrab

thanks

I changed it to this

if (ActorHit){
	PhysicsHandle->GrabComponentAtLocationWithRotation(
		ComponentToGrab, 
		NAME_None, 
		ComponentToGrab->GetOwner()->GetActorLocation(), 
		ComponentToGrab->GetOwner()->GetActorRotation()
	);
}

had to end up taking the true out
found the answer here https://community.gamedev.tv/t/grabcomponent-depricated/17525

I allso add
#include “Components/PrimitiveComponent.h”

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms