Based on the response of @SteveMerritt to @oSpace I implemented the FellOutOfWorld override. However, I had to recreate the BP_ThirdPersonCharacter from the lecture. Would there have been an easier way, i.e. reusing BP_ThirdPersonCharacter in any way?
Additionally, I implemented a “circling” platform by rotating it around an axis and added a simple timer.
Here are some screenshots and code snippets:
void AMovingPlatform::CirclePlatform(float DeltaTime)
{
CircleAngle += CircleVelocity * DeltaTime;
FVector CurrentMove = CircleRadius.RotateAngleAxis(CircleAngle, CircleAxis);
SetActorLocation(StartLocation + CurrentMove);
// Only one rotation "source" possible
if(EnableCirclingRotation && (!EnableRotating))
{
// Rotate actor so that it faces the center of the circle it moves along
SetActorRotation(FQuat(StartRotation + (CircleRotationAxis * CircleAngle)));
}
}
If I update and extend this level later on, I will update this thread.
Thanks for taking the time!