Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

define an actor as ground

gameNoobgameNoob Posts: 7Member
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??


  • msonesmsones Posts: 75Member, Chef Emeritus
    Add a "collide" behavior to either the character or the bar; specify that this actor should collide with the other actor.
  • gameNoobgameNoob Posts: 7Member
    thats what i did already. but the character just bounces back, when i start walking..
  • DrGlickertDrGlickert Posts: 1,135Member
    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 Posts: 7Member
    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.
This discussion has been closed.