Help Wanted

AjBlueAjBlue Member Posts: 215
edited November -1 in Working with GS (Mac)
how can i move and actor without collide on, and stop in using magnitude

i cant use collide because i dont want my actors pushing each other using gravity, i just want them to stop when in a pre determined distance of each other

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    when your attribute set up to the magnitude is greater or less then whatever you want, change attribute self motion linear x to 0 to stop movement on x and change self motion linear y to 0 to stop movement on y
  • AjBlueAjBlue Member Posts: 215
    i have magnitude set up, i think ill try a move attribute plus motion linear movement
  • AjBlueAjBlue Member Posts: 215
    when i try to spawn the actor on the right side going to the left, its not working.. if i make its spawn direction to 180 it flips upside down and doesn't move. when i try to correct it with linear velocity it cant counter act the spawn direction i guess..
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    explain in detail what your trying to do. If you change the motion linear to 0 it will stop movement. Isnt that what you were trying to achieve?
  • AjBlueAjBlue Member Posts: 215
    im just trying to make my actor walk from the right of the screen to the left right now, im spawning it in off of the house on its right... i think that might be a problem?
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    what rules do you have to spawn, and what rules are in the spawning actor to make it move
  • AjBlueAjBlue Member Posts: 215
    this is rediculous! whenever i spawn something on the right and want it to go left, its not working
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    well what is the rule you have telling it to move left
  • AjBlueAjBlue Member Posts: 215
    i have 10 linear x velocity in my actor, im spawning it on the right at a 0 angle because 180 makes it flip upside down. the actor has a move direction 0, speed: self linear x velocity
  • AjBlueAjBlue Member Posts: 215
    if i tell it to move 180, in the opposite direction it seems to be pushing against a force making it go right
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    take out all the linear velocity stuff. in the move rule for the actor you want to move left put whatever number you want in speed and in direction put 180.
  • AjBlueAjBlue Member Posts: 215
    the magnitude stop isnt working now.
  • AjBlueAjBlue Member Posts: 215
    i got it working
Sign In or Register to comment.