define an actor as ground

gameNoobgameNoob Member Posts: 7
edited November -1 in Working with GS (Mac)
hey guys,

i have 2 actors in my game. a character and a bar. the bar is not movable. also gravity is in the szene.
but when i test the game, my character falls through the bar.

but i want it to walk on the bar. how can i do this?

any ideas??

Comments

  • msonesmsones Inactive, Chef Emeritus Posts: 75
    Add a "collide" behavior to either the character or the bar; specify that this actor should collide with the other actor.
  • gameNoobgameNoob Member Posts: 7
    thats what i did already. but the character just bounces back, when i start walking..
  • DrGlickertDrGlickert Member Posts: 1,135
    Your collide rules will allow the 'character' to walk or utilize the bar as a platform.

    Restitution will change the way the character "bounces"

    What are your restitution settings on both the character and the bar and what is your desire for these two actors (walk on the bar, jump over the bar, etc)?
  • gameNoobgameNoob Member Posts: 7
    okay i set restitution to zero - for both - works a bit better. the 'character' bounces forward along the bar, with little steps. (instead of bouncing out of the scene).

    but it still bounces, and actually it should only walk.
Sign In or Register to comment.