GameSalad

One actor triggering rotation of another actor

Village+IdiotVillage Idiot Posts: 485Member, PRO

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: 2,059Member

    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: 2,059Member
  • Village+IdiotVillage Idiot Posts: 485Member, 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,725Member

    Change Angular Velocity to -Angular Velocity

Sign In or Register to comment.