middle of it

Another noob question, but how can i get an actor to sit exactly between 2 other actors?

Comments

  • GnarlyGnarly canadaMember Posts: 840

    Are they moving?

    Is distance changing randomly?

  • GnarlyGnarly canadaMember Posts: 840

    X position of one actor minus x position of other actor divide by two.

    But I'm guessing there is more to it than that.

    More details needed.

  • SocksSocks London, UK.Member Posts: 12,822
    edited May 2015

    ...

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

    This subforum is for paid requests (hiring people to do work for you). Are you using a Mac or PC? I'll move this to Working with GS (Mac) or (PC) for you.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • smurftedsmurfted Member, PRO Posts: 581

    Sorry for posting in the wrong place.

    Both the two actors are moving in both the x and the y axis..

  • SocksSocks London, UK.Member Posts: 12,822

    @smurfted said:
    Sorry for posting in the wrong place.

    Both the two actors are moving in both the x and the y axis..

    Constrain X to (Actor 1 X + Actor 2 X) divided by 2
    Constrain Y to (Actor 1 Y + Actor 2 Y) divided by 2

  • smurftedsmurfted Member, PRO Posts: 581

    More silly questions but how can i get brackets to work in the expressions field?

  • tiger27tiger27 Member Posts: 127

    Just type it, it should be (at least, on a PC) next to the p.

  • smurftedsmurfted Member, PRO Posts: 581

    got it, silly me i had to put in in a timer behaviour..

Sign In or Register to comment.