Collision Jump Object

I am trying to implement a panel that picks up an object falling on it. however, I just want the object to bounce when it falls on top of its top edge. if the object goes from the lower level, the object should pass as if the panel did not exit. This is similar to what a bird does in tweetjump or doodle in a doodle jump. Any hints on how I can do this in the crown?

+3
source share
1 answer

When an object collides with the panel below, try to give

bar.isSensor = true

Read here: http://developer.anscamobile.com/reference/index/bodyissensor

, , , " ", .

+4

All Articles