GameSalad

One actor triggering rotation of another actor

I've got this actor slowly rotating clockwise. I have another actor that I want to cause it to rotate in counter clockwise when it collides with it. I've tried a rule, but it doesn't work. Anyone got any ideas on how to do this? Have attached a grab..

Comments

  • pHghostpHghost London, UKPosts: 1,904Member

    OK, the first problem I see is that the otherwise section is linked to the rule.

    So, it will only change the direction if the ball hits it AND game.ok to... is false.

    My guess is it isn't false, so it won't trigger.

  • pHghostpHghost London, UKPosts: 1,904Member
  • monkeyboy+simianmonkeyboy simian Posts: 418Member, PRO
    edited April 20


    I initially had it outside of the otherwise bit and just on its own underneath that rule.. but it just made the actor stop rotating altogether..

  • SocksSocks London, UK.Posts: 12,698Member, PRO

    Change Angular Velocity to -Angular Velocity

Sign In or Register to comment.