I have tried many different things, please reply if you can. I will provide further info, (blueprints, collision settings, project file, etc.)
Hey there,
It’d probably be more useful if we could see how you currently have your projectile setup. =)
Thats my sphere collision around it
projectile blueprint
tick the box that says Simulation generates hit events. You’re using the EventHit node and you don’t have it enabled on the collision
Didn’t solve the problem
Try using directly the “On Component Hit” of the sphere component.
I will try it out, thanks!
unfortunately that didn’t fix the problem. It seems it isn’t detecting its even colliding.
On collision select block all its currently set to block all dynamic
sorry, could you rephrase that? Im not at my best right now. Did you mean to set the projectile collision to block all dynamic? or should I set my sphere colission to block all dynamic, thanks for the reply!
Try this on your sphere collision component:
Also:
- make sure your walls have collision.
- no need for both the mesh and the sphere collision to have collision enabled. Disable the collision of the mesh:
Thanks! How should I go about adding collision to my walls? Should I set it to block all?
also, I switched the collision and it didn’t
seem to fix/change anything :
As long it has a collision mesh, it could leave set it to “Block All” but you can also leave it to “Default”:
Make sure the wall you’re colliding against has the “Generate Hit Events” as well. The code is basically “If two components overlap, AND they’re both interested in hit events, then apply the collision profile/filter and report the collision.”
Ok. Are you sure the walls have a collision mesh?
It they do, then since you are in a hurry, forget the “Hit event” and just use the overlap event:
sphere collision:
wall:
Thank you all so much! My problem is fixed :] I appreciate your time and effort.