The character is penetrating the platform

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);

}

There are three versions of that mesh, one of them doesn’t have collision.

SM_Platform_M
SM_Platform_M_A
SM_Platform_M_coll

The first one doesn’t have any collision


note the 0 collision primitives

Choosing a collision mash, it moves as I please. It doesn’t even penetrate anymore! I solved it thanks. Thank you.

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

Privacy & Terms