noooooob question, how do i make the camera fallow me

davnielidavnieli Member Posts: 18
edited November -1 in Working with GS (Mac)
i looked in the wiki i couldn't find it how do i make the camera fallow my actor?

Comments

  • davnielidavnieli Member Posts: 18
    i have one more question. i added gravity 300 and a box when my guy walks off the box he like flips upside down and then all my controls do the opposite or he flips on his left so when i press right key he goes up and so on how do i fix this
  • CodeMonkeyCodeMonkey Head Chef, Member, PRO Posts: 1,803
    Set the movement controls to relative to scene instead of relative to actor.
    Also if you don't want it to ever rotate, look at the actor's attribute and set it to a Fixed Rotation.
  • davnielidavnieli Member Posts: 18
    kk thanks and sorry about all the questions lol but how do i make it so my actor doesnt bounce 50 feet when i hit one of my boxs
  • CodeMonkeyCodeMonkey Head Chef, Member, PRO Posts: 1,803
    Change the restitution of the affected actors to 0. Its an attribute also in the physics attributes of each actor.
  • davnielidavnieli Member Posts: 18
    thanks codemonkey as u can tell im really new and i have 2 more questions :( sorry
    1st: how do i make it so i can only jump once untill i hit the ground or a box so i cant just keep jumping?
    2nd:how do i make it so gravity is still there when i move left or right in air? (for example if i jump and move left i stay in mid air)

    Thanks
  • CodeMonkeyCodeMonkey Head Chef, Member, PRO Posts: 1,803
    1st: See the jump FAQ here: http://gamesalad.com/wiki/how_tos:gsc_jump

    2nd: Read the difference in the movement behaviors here: http://gamesalad.com/wiki/how_tos:know_which_movement_to_use
  • davnielidavnieli Member Posts: 18
    kk thanks sorry about not check if it was in the wiki
Sign In or Register to comment.