Hi.
I have a sprite that acts like a magnet when is created for a few seconds.
He has LOS behavior and attracts all the physics boxes in its range.
I want to know how can I create a sprite (that looks like an electric arc) for each box that is in the magnet range and:
- is rotating and adjusting its length from the magnet to the box
- is destroyed with the magnet
I want to create the impression that electricity is pulling the box/boxes to the magnet.
This is my attempt
dropbox.com/s/d0paxhhojb0bjiz/ElectricArcForEachBoxInRange.c3p