[Help] Character floating over objects

Hi, I’m pretty new to UE5. And I’ve worked on a project to make this character lie on the bed. I can step on the bed quite easily, but when the character is lying down, it’s floating over the bed. Does anyone know how to solve this? Also, with another bed, it’s merging into the bed. But for the rest other two it’s fine.

BTW, the only difference in these four blueprint is the beds.


1 Like

Also, this is captured during game play

Hey @hejzhang! Welcome to the Forums!

A few questions to get things started:

  • Assuming you are using physics, what does the collision of the bed and the player looks like?
  • Are you placing the character correctly above the collision box for the bed?
  • Does this need to be physics based? Will an animation pose not do well?

Any additional specifics and information you can provide will go a long way in helping solve your problem!

1 Like

Hi, Thank you for your swift reply!

To answer your questions

  • All beds and blankets have collision enabled(BlockAllDynamic), and for the character, the body is Query Only(Character Mesh), and for torso and legs, it’s collision enabled.
  • Yes, all characters’ collision boxes are not overlapping with the collision box of the bed, the character is actually dropping from the air.
  • I actually changed the initial animation of the character so it’s actually dropping down like this. While I cannot change the initial collision box, I added another one like this. I’m simulating this process so I think it’s physics-based.

Thank you for your help

and plz let me know if you need more information:)

Hey @hejzhang!

I can already see what your culprit is most likely. Your collision Box for your bed goes above your bed (where the character is floating). You will need to set the collision of the bed to complex.

I hope the above provides the solution you need!

Hey @Quetzalcodename
It indeed solved my problems! Thanks a lot!