I made a platform where you watch lectures and rotate. In lectures, if there’s a character on a rotating platform, they go along the direction that the platform moves. But that’s not what I made. I ignore the platform and just walk across it. How do I solve this?
The code below is the code written when creating the rotating platform.
void AMovingPlatform::RotatePlatform(float DeltaTime)
{
AddActorLocalRotation(RotationVelocity * DeltaTime);
}