Goodday!
I’m trying to see if my snowball actor hit anything, doesn’t matter what (Static, pawn etc.)
How would I do that?
Goodday!
I’m trying to see if my snowball actor hit anything, doesn’t matter what (Static, pawn etc.)
How would I do that?
Set the snowball to simulate physics and enable Simulation Generates Hit Events. Now just use the Hit event.
I have this but it’s not printing hello
this isn’t doing anything either.
Does your snowball static mesh asset have collision set up? Assuming that you are simulating physics, do you have “simulation generates hit events” checked?
I did not check that. Thanks. Everythings working now.
What collision preset does the snowball mesh have? Are you doing a mesh collision of the static mesh component?
A more optimized option would be adding a sphere collision (then parent the static mesh to the sphere collider) and setting it to collide with the world and dynamic objects, then check its component hit event (setting generate hit response)