constrain 2 actors but follow with offset

Hi there,

I am constraining two actors together.. actor A to actor B

actor A drives the movement

Actor B follows

this i have working, but id like actor B to have a delay in the movement so it creates drag and overlap and a sense of following actor A instead of glued together.

Basically i gave actor B a constrain self.position.Y to game.playerPositionY +100

the problem is i can not figure out what the approach would be code wise to make it drag behind

any hints or directions to previous posts would be greatly appreciated

thanks!
Sign In or Register to comment.