// Called when the game starts void UGrabber::BeginPlay() { Super::BeginPlay(); FindPhysicsHandleComponent(); SetupInputComponent(); UE_LOG(LogTemp, Warning, TEXT("Grabber here lol!")); }
// Called when the game starts void UGrabber::BeginPlay() { Super::BeginPlay(); FindPhysicsHandle(); SetupInputComponent(); }
// Called when the game starts void UGrabber::BeginPlay() { Super::BeginPlay(); FindPhysicsHandle(); SetupInputComponent(); UE_LOG(LogTemp, Warning, TEXT("grabber online")); // ... }
AMapPlayerController::AMapPlayerController(const FObjectInitializer & PCIP) : Super(PCIP), CameraMoveDistance(20), CameraZoomDistance(50), CameraDragDeadZone(10) { SetupInputComponent(); }
// Called when the game starts void UGrabber::BeginPlay() { Super::BeginPlay(); FindPhysicsHandleComponent(); //Error checking - Making sure physics handle component is included in the actor SetupInputComponent(); }