How to constrain two actors together

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

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    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

  • reginald.bernardinreginald.bernardin Member Posts: 346

    Well i just want to constrain them together can you poin to a video that can help?

  • zweg25zweg25 Member Posts: 738

    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

Sign In or Register to comment.