One actor triggering rotation of another actor

Village IdiotVillage Idiot Member, PRO Posts: 486

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, UKMember Posts: 2,342

    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, UKMember Posts: 2,342
  • Village IdiotVillage Idiot Member, PRO Posts: 486
    edited April 2017


    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.Member Posts: 12,822

    Change Angular Velocity to -Angular Velocity

Sign In or Register to comment.