How can i delete collision or fit UE5-0


How can i fit this collision i cant delete i cant move it i cant scale this collision.İf can i delete i would like to use box collision but i cant delete this.

This is because the capsule collider is your root component. It is the origin of the actor so it doesn’t make sense to have a position / rotation / location. All the transforms on other components are just local transforms which are relative to the root component (in your case the capsule collider).
What you can do is change the capsule height and radius in the details panel with the capsule component selected.

To adjust the position of the collider, you want to move all of the other components relative to the collider.

Perhaps this shouldn’t be a character but a simpler pawn. You could then add any collider at the root and a movement component.

2 Likes


i did but this enemyslime(pawn) is going through the wall and does not fall to the ground

sas
half heigh is not going to more low and radius not going high because of that i cant do what i want with this capsule

The collider needs to be at the root - just like the capsule was. Drag it there and reorganize the hierarchy.

image

For gravity, you have a couple of choices:

  • either enable physics sim on the root (box) and enable gravity
  • or add movement to the component in -Z on Tick

Both will work, but will work slightly differently.

1 Like

Worked!! Thank you a lot

1 Like

If you do plan on making the game multiplayer, I would recommend using the Character base class.