Hello!
I’m using Spline mesh components, and wish to be able to turn on blocking, so that a object (pawn, character, static mesh, etc), can move up and down on the Z-Axis of the spline mesh, yet at the same time, I need to get all the “objects” that are overlapping the same spline mesh component. It seems that I can have one, or the other, but not both. If I turn on blockall (for collision), then the pawn/character (whatever), can move up and down on the spline mesh, as the spline mesh has it’s Z-axis changing. But when doing a query of overlapping actors or components (and yes, simulate overlap is turned on, so is simulate hit) there is no OverlapInfo present, hence the queries are returning nothing.
Any thioughts on how to get this to happen?
Hello
I’ve personally never tried doing both at the same time but you should be able to achieve this with the use of Collision Channels. With custom collision channels, you could set your spline to block certain actors such as pawns/characters but to only overlap everything else. You find out more about collision channels here:
,
Thank you for your response, see that’s the issue, though, in that I wish for the same pawn/character if you will, to respond to both. i.e for the spline mesh component to block, so that the pawn/character/whatever (I actually don’t care what the object is), can “step up on…” (the ecb setting), and at the same time, still respond to a overlap query.
Currently I’m thinking of creating 2 spline mesh components, one set to block (this one would have a static mesh for the spline mesh), and then another spline mesh, that would be “invisible” and provide the overlap functionality
Ah I must have misread your original post. I couldn’t think of a better way to do that myself.
,
It’s working well, had to create some new bluprint nodes (grunt work in C++), logic in blueprint, in order to get some bounds that I needed, etc. So now just to play with the forward/up vectors, and that should wrap up this part of it. Then on to some material/texture functions, and just maybe, if I hold my mouth right, and howl at the moon, I might get this Plugin/Blueprint, submitted to the marketplace! lol