rotate

solitaireesolitairee Member Posts: 73
edited November -1 in Working with GS (Mac)
Hey guys, I just want to ask you how to do it to let some actor rotate on its position and when collide with another actor doesnt be pushed? u know spinning like watermill and objects are pushed by mill but mill is not pushed by another objects, thanks guys

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    constrain its x and y position to its x and y position
  • solitaireesolitairee Member Posts: 73
    how to? please I think I dont understand :/
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    click on the actor thats in the scene, not the one to the left in the actor pane, the one thats actually in the scene editor, it doesnt matter if its locked or unlocked. click on it when th actor opens up go to the left of it and clikc position. Then write down the x and y. The go back click on the main actor in the actor pane and constrain its x and y to the x and y you just wrote down. SO its position is always constrained to where it is, so it can rotate ect but doesnt move from anything
  • solitaireesolitairee Member Posts: 73
    ok thank you Ill try it :)
  • solitaireesolitairee Member Posts: 73
    its functioning but unfortunately it is spinning just when it is hitted :(
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    so you just pot a rotate bahavior in it then and itll alwasy rotate..
  • solitaireesolitairee Member Posts: 73
    thats the problem.. I already did :)
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    if you did it will always rotate, have all the behaviors by them selfs, not in any rules for when it collides with the player ect
  • solitaireesolitairee Member Posts: 73
    and if you know what is bad on this http://gamesalad.com/game/7947 Ill appricate it too :)
Sign In or Register to comment.