Hello,
I am trying to create a trigger with a custom shape. I am actually trying to create an hexagon. Is there a way to modify the shape of a volume trigger?
Thanks!
Hello,
I am trying to create a trigger with a custom shape. I am actually trying to create an hexagon. Is there a way to modify the shape of a volume trigger?
Thanks!
No, I don’t think Volumes can have custom shapes, they will always be boxes. However, you can use a normal StaticMesh instead - that is whatever shape you want - that is NOT blocking the player, and is not visible either, but does work like a trigger.
Basically, on the top of my head, you would set it up like this:
It is doable, but you have to do it manually; think of the volume as a BSP:
Create the volume, then go into geometry editing mode
Look at one volume face
Select the top edge and the bottom edge
Modes → “Split”
This gives you a new vertical edge that you can drag out, making a pentagon. Repeat this with another face to get a sixth edge, giving you a hexagon.
Follow through by cleaning up the top and bottom faces:
Notice that UE4 has also split the top face and the bottom face of the volume
Multi-select the polygons on the top face.
Modes → Optimize
— This is the same as “Merge”, if you’re familiar with Max or maybe other editors that use the same terminology
This does two things: It allows you to safely select and transform the top and bottom faces long after you’ve split the side faces, and it optimizes the complex/custom volume shape.