Can I replace the default capsule component with a box collision?

resim

I don’t want my character’s collision to be cylinder shaped. I can just make it ignore all and use the box as, practically the real collision but I want to make it cleaner. Is there a way to replace it with a box collision?

Also my box collision is not working :frowning:

Well it seems like you are on the right path (i think it should work).
-Open the advanced settings this time-

  1. Add the box collision on your scene root of the character bp (not under capsule)
  2. make capsule to no collision and no overlap events under the collision tab (you were already there in your video)
  3. set the box collision setting to your preference (in the advanced settings)

Remember: Obj type is what other collisions consider that character is when trace to it / overlap with it / block it

It should work

Setting a collision inside a collision as you did, without setting each collision to ignore the type of the other one in advanced settings, can cause issues sometimes depends on the situation

You said the collision not working, i dont see any object that you tru to interact with

1 Like

How can I do that, add it to the scene root? I am really new with this software. The capsule component is interacting with ground, it must have the same collision settings with box, when using box it’s causing the character to pass tru and fall forever.

Yeah i just tested it. Unreal forces the structure of the character. only way is to start an empty object and custom build it. or compile the engine from source and change the character BP.

Tested and working in 5.4.4 (open the advanced collisions settings drop down) :

On capsule:
-Simulation Generates Hit Events - on
-Generate Overlap Events - on
-Can Character Step Up On - on if needed in game
-Collision presets - Custom (and set to ignore all)
-Collision Enabled - Collision Enabled (Query and physics)
-Object type - whatever you need, use world dynamic for now

And then set the box collision you created the same and in “Collision presets - Custom” not to ignore all, but interact with what you want

Start with block everything (check boxes by hand) to see its working.

I dont know if its a valid way but its working in my test

1 Like

movement component won’t work if you don’t use the capsule component in the default character class.