Codemonkey's SphereTrap template

MarkOnTheIronMarkOnTheIron Member Posts: 1,447
edited November -1 in Working with GS (Mac)
http://gamesalad.com/game/play/25978

This template has been very useful, but I'm wondering if we can tweak it for bouncing on curved surfaces.

Any thoughts?

Comments

  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    The physics engine hasn't the capability for that (at the moment? Whether or not it'll be in a future GS release, don't know...) The only way to do this is to simulate it with quite a few square collision actors arranged in a curve. Hope that helps. :-)

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    Using the squares for curved walls is actually alot easier then it seems, and you need alot less then you would think. My whole new game is built like this.
  • MarkOnTheIronMarkOnTheIron Member Posts: 1,447
    Ok, but I was wondering if there was a mathematical way to detect the collision angle with a circle and determine the right bouncing angle.
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    No, just play with the individual restitution on each square to adjust the bounciness.
Sign In or Register to comment.