Attach projectile to actors when hit? (sticky projectile)
I currently have it so a spear hits an object but if the object falls the spear remains floating in space. I've read an Attach to Actor node is needed but I'm not having any luck setting it up. Is this setup getting close? (see attached) And if so what do I plug in to the Attach nodes 'target' and 'parent' so the spear sticks to anything if it moves/falls. eg. the cubes in the first person template or a copy of my character model with a physics asset.![alt text]
Thanks for any help.
I'm sure there is another way to do this, but using the FPS template you could modify the projectile Blueprint to something like this:
The section in yellow was added and stops the projectiles movement once generating a Hit and attaches it to the Hit object.
answered Jun 05 '14 at 03:11 PM
Wes Bunn ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here