Creating a floor/wall?

gunblazegunblaze Member Posts: 6
edited November -1 in Working with GS (Mac)
How do i create a floor/wall so that my spawn actors coming from the top or moving from left to right gets its movement restricted to within the screen and will not leave the screen premises?

Comments

  • StormyStudioStormyStudio United KingdomMember Posts: 3,989
    easiest way is create a new actor...call it 'wall' if you like.

    Then in the wall actor add a collide behavior and choose the actors you want to be stopped by the wall. You can then vary both the actors physics restitution/density/friction to vary how they bounce.
  • gunblazegunblaze Member Posts: 6
    Hi, Thanks for the help stormystudio,

    but i tried it already, the actor collided with the floor.. yes but it continues falling after bouncing once but what i wanted was for the actor to bounce a few times and stop on the floor. Any ideas?

    or do i have to change gravity for the object(correct me if i sound stupid here)
Sign In or Register to comment.