I have been playing with a AS3 platform game and wondered how to make jump-through-platforms like the ones in Super Mario Bros. I found out that you can create a LineData body and set doubleSided to false. This allows you to jump through the platform on your way up.

// a, b, infinite, doubleSided
var lineData : LineData = new LineData(
    new Point(0,0),
    new Point(100,0),
    false,
    false
);

Post to Twitter

Related posts:

  1. Creating a platform game with Motor2
  2. Motor2 (lack of) documentation
  3. How to use Motor2 0.9 in Flash player 9
  4. Looking forward to the Motor2 update
  5. Making large numbers look good