Simulated Physics object clips through the floor when stepped on it

Hey, I am getting an error in my game physics, I made a object which I can Hold and When I click ‘F’ button then the object enables simulate physics and the player can throw it but when I step on the object the object disappears I assume that the item clips through the floor, Can anyone please help me?
this is the code-

**//in The object class**

void ARoomKey::SimulatePhysics(bool bSimulate)
{
    Cast<UPrimitiveComponent>(KeyMesh)->SetSimulatePhysics(bSimulate);
}

This is the video of my error-
2022-07-31 12-31-37.mkv (7.4 MB)

Hi there,
Sometimes, simulated objects will fly away when hit by the character capsule “pawn”.
You may need to adjust collision settings, simulated objects can have its collision profile set to type “physics actor”, and make sure to set character capsule to “overlap” or “ignore” physics actors. Set mesh to block physics actor also should improve.

1 Like

Hey, can you please name the option that you are talking about in the character’s capsule component?
This is the video of my error-
2022-07-31 12-31-37.mkv (7.4 MB)

I don’t think the issue here is stepping onto the object. It looks like when you look down, the point to where the object moves upon grabbing is below the floor?

Sorry but I did not understand what you wanted to say.

I thought you were picking up the key when looking straight down, but you’re only stepping on it. Please disregard my previous comment. You should indeed just try and disable key collision with Pawn.