Make an object slowly stop after accelerating?

HyryttyHyrytty Member Posts: 39
edited November -1 in Working with GS (Mac)
Does anyone know how to make an actor decrease in speed after accelerating? For example I have this dog, when I tilt the iPhone he starts accelerating, then when I tilt the iPhone to normal position I want him to slowly lose speed, is this possible? Can't find a tutorial on this anywhere..

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    When acceleramotor (which ever axis you want) = (whatever you want), interpolate self motion linear x to 0. That should do it.
  • HyryttyHyrytty Member Posts: 39
    JohnPapiomitis said:
    When acceleramotor (which ever axis you want) = (whatever you want), interpolate self motion linear x to 0. That should do it.

    Could you please explain this? I have no idea what you mean. What attributes/rules should I add? I tried adding accelerometer change in the "Otherwise" section and changing it to 0 or -100 but weird stuff happens when I do this. It starts moving left and right, etc?
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    Have a rule when all conditions are valid.

    When acceleromator is > -0.1

    when acceleramotr is < 0.1

    interpolate attribute self motion linear x to 0
  • HyryttyHyrytty Member Posts: 39
    its still not working? I did exactly what you told me, and interpolated the attribute self motion linear x/y to 0, didn't work.. don't know what im doing wrong?
  • HyryttyHyrytty Member Posts: 39
    Edit: Nevermind, worked now!
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    :)
Sign In or Register to comment.