I’m trying to construct a Blowing Fan that pushes the character upwards if it’s above it.
To make this easily editable, I’m using a 3 point spline to define the BoxCollision extents.
The problem is that when I try to set the box extents calculated from the spline, it reduces the collision of the BoxCollision to only the central axis.
Does anyone know how to fix this?
Also, if you know of any other method to easily set the box collision extents per blueprint instance, please share it. I know I could have sliders instead of the spline, but from an usabillity standpoint it’s really not great.
I’ve shared the entire asset. Feel free to use it, modify it as you want and share the results.
Here’s the spline and the BoxCollision in edit mode:
I’ve removed other parts of the construction script, but even with this, it messes up collision:
Here we can see that in-game, the character and the object overlap the BoxCollision but don’t generate an event:
Finally if it overlaps the central axis, it will move the character upwards:
Here’s the blueprint source file:
[Blowing Fan UAsset][4]