Roll on a line

cnmeyer1980cnmeyer1980 Member, PRO Posts: 211
edited December 2011 in Tech Support
Hi guys,

I'm trying to put together a simple little app based on the 'Drawer ORBZAMPLE' reference file on GameSalad.

Basically, I'm trying to make the following:

You have a ball on screen, it needs to get from the top left to the bottom right.

You can draw a line (using the programming of the Drawer ORBZAMPLE project.

Once you have drawn your path, you can click on the ball and it will fall, rolling down the path that you have drawn.

My problem is this - it seems to bounce (currently it is bouncing when it collides, so i'm sure its something to do with this) - ideally, when it hits the drawn line it should role based on the line drawn, and stop if the line goes (up hill).

I don't know if this is actually possible to do, but I would love to know if it is.

Thanks one again to you all,

Many thanks,

Chris

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    go into the physics attributes of the ball actor and the line segment actor and change the restitution to 0

    cheers
Sign In or Register to comment.