Lock Eyes on main Actor

JayJayDJayJayD Member Posts: 48
edited December 2011 in Working with GS (Mac)
Hello,

anyone have an idea how i can lock the eyes of an static actor to my main actor?
The Eyes should always fix him.

thanks in advance

ps: sry for my bad english

Comments

  • MotherHooseMotherHoose Member Posts: 2,456
    the eyes (or the colored pupils) would have to be a separate/new actor(s)

    use magnitude and the mainActor's X,Y for the eye's image/rotation/position.

    MH
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    not sure if this is what you mean, but you want the static actors eyes always look at the player?

    If so like MotherHoose said the eyes will have to be seperate actors, have 2 real attributes constrained to the players x and y position, and then use the rotate to behavior at those attributes, or use those in a vectorToAngle expression and constrain the eye rotation to that.
  • JayJayDJayJayD Member Posts: 48
    Thank you very mouch

    I'll try this soon but im sure that this will work
Sign In or Register to comment.