Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17825

Collider not generating "Event Hit"

$
0
0
I really don't understand what I'm doing wron here... I have a Box Collision component (I'll call it Collider) Attached to an ArrowComponent (needed only to offset the pivot of the Collider and match the pivot on the mesh) Attached to the player mesh (just a cube). In the image below you can see my Collider settings: As you can see from my blueprint image below, I check the last index of the WormPlayer which is the Head (is made out of blocks) and I predict where it is going to be moved, I set the Collider (technically the Parent Arrow, to keep the 5 unit offset on the Z axis that I need) to that location and I have a Branch in there which I'll eventually use to stop the worm body from updating position when we pick a Pickup (since at the pickup spot is spawned a new Head for the Worm, and the Worm doesn't have to move that turn). Problem is, even though in SetWorldLocation I have the sweep active, the "Event Hit" node is never being called, I am testing it with a printString that says "COLLISION!!!"...and it never happens. So why is my Hit check failing? I've also made a video to further prove it is not colliding ->> http://i.imgur.com/CQhMUpb.mp4 This is my Event Hit code , as you can see there is a PrintString in there which never fires.

Viewing all articles
Browse latest Browse all 17825

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>