How to get actor to move to another actor?

izzydoghamizzydogham Member Posts: 24
Basically im trying to get my main character to move towards and attach itself to a wheel that constantly spins when i press on the mouse.
I can't get my main character to move towards the wheel! The wheel rotates counter-clockwise and falls from the top of the screen to the bottom of it real slow.
So here's what ive tried:

Made a game attribute of real type and called it wheelY
Inside wheelY actor constrain bally to self.position.y
Inside maincharacter actor constrain self.position.y to wheely
Any one know how i can accomplish what i want? Thanks in advance!

Comments

  • izzydoghamizzydogham Member Posts: 24
    The wheel spins without the mouse click, what i meant to say was that i want the actor to go to the wheel when i press on the mouse*
  • bjandthekatzbjandthekatz Orlando, FlMember Posts: 1,375
    This should be what you need
  • izzydoghamizzydogham Member Posts: 24
    Wow thank you that was extremely helpful! THANKS!^^^

Sign In or Register to comment.