How to constrain two actors together
reginald.bernardin
Member Posts: 346
Hello
I know this may be simple but how can i constrain two actors together? so when you touch it then it follows each other.
thanks
Comments
Constraining one actor to another actor's position is simple. But having one actor follow another actor is not. Google follow actor gamesalad for more info.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Well i just want to constrain them together can you poin to a video that can help?
google Socks link machine or Socks fast constrain. I think that'll get you what you want. If you just want one to sit on top of the other no matter what, just make two real attributes actorX and actorY. Constrain actorX to actor1.position.X and Constrain actorY to actor1.position.Y. Then constrain actor2.position.X to actorX and actor2.position.Y to actorY