How do I cause an actor to properly interact with another actor

FlyboyTrevy_FlyboyTrevy_ Member, PRO Posts: 148

I want to make it so that when an actor is tapped it rotates a different actor. How would this be done? The rotate property doesn't allow you to specify that you want it to perform this on a different actor not the one you are modifying.

Comments

  • RThurmanRThurman Member, Sous Chef, PRO Posts: 2,880

    Try something like the following.
    1) Make a game-level boolean attribute and name it something like "timeToRotate?"
    2) In actor 'A' have a rule that says
    When touched, Change Attribute: timeToRotate? To: true
    3) In actor 'B' have a rule that says
    When attribute timeToRotate? is true, Rotate Actor

  • FlyboyTrevy_FlyboyTrevy_ Member, PRO Posts: 148

    Thanks Man! Haha it's been a while since I've used this. Helped a lot.

Sign In or Register to comment.