How to make actors follow a main actor? Snake effect

Hello,

Looking for a simpler (less code, more equation) way to have actors follow the main actor.

Main actor moves,

Actor B follows main actor but behind it a fraction

Another Actor B follows main actor but a fraction behind previous Actor B.

Currently I have the main actor looping: add row at row 1, add its position to a Table in row 1, remove cell at end of table (Table has 100 rows.)

Actor B each have their own unique ID, and are simply constraining their x and y positions to their ID row reference in the Table.

Is there a better way to get this effect. Like I trail effect, or like a snake effect.

I also can't simple spawn and betray because they need to follow the main actor.

Many Thanks

Comments

Sign In or Register to comment.