Make Box follow Character
Breezeonhold
Member Posts: 187
I want a box to follow my character where ever the character goes... How can I do this? It needs to stay right in the center of the character no matter where the character runs.
All help would be greatly appreciated.
Thanks
All help would be greatly appreciated.
Thanks
Comments
// Red Dot Inc
Character:
---Constrain game.CharacterPosX to self.positionX
---Constrain game.CharacterPosY to self.positionY
Box
---Constrain self.positionX to CharacterPosX
---Constrain self.positionY to CharacterPosY
That should do it, Hope it helps!
Reddotinc, and CowTechMan you get the helpful trophy award. Congratulations lol This is why I love the gamesalad forums. People help so much.
Thanks again! It was so simple.