GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

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

    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,301Member
  • Village IdiotVillage Idiot Posts: 486Member, PRO
    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.Posts: 12,822Member

    Change Angular Velocity to -Angular Velocity

Sign In or Register to comment.