Beispiel #1
0
// Called when the game starts
void UGrabber::BeginPlay()
{
	Super::BeginPlay();
	FindPhysicsHandleComponent();
	SetupInputComponent();
	UE_LOG(LogTemp, Warning, TEXT("Grabber here lol!"));	
}
Beispiel #2
0
// 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();
}
Beispiel #5
0
// Called when the game starts
void UGrabber::BeginPlay()
{
	Super::BeginPlay();
	FindPhysicsHandleComponent(); //Error checking - Making sure physics handle component is included in the actor
	SetupInputComponent();
}