Accelerate Questions

App SurgeApp Surge Member Posts: 651
edited November -1 in Working with GS (Mac)
I am using the accelerometer in my game, and I want there to be a fan that will blow the main character away from it, and will make you not able to tilt into it. Does anyone know how to do this?

Thanks,
Henry Abrams

Comments

  • HapiappsHapiapps Member Posts: 373
    There are a couple ways, it depends on how the character is moving and exactly what you want.
  • App SurgeApp Surge Member Posts: 651
    I am constraining the actor's x and y to the tilt x and y. I want the fan to push the character away from it, and you can't send the character back into it.
  • App SurgeApp Surge Member Posts: 651
    bump
  • JPickardJPickard Member Posts: 477
    There is a fan demo in the New section of the GS app. Search "fan blow demo" That may or may not be helpful to you.
  • App SurgeApp Surge Member Posts: 651
    Thanks, but when I have the tilt attribute too, it will override the fan blow.
Sign In or Register to comment.