Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Apple Motion Collision detection?

  • Collision detection?

    Posted by Paulo Jan on November 28, 2007 at 11:35 pm

    Hi all:

    Does anyone know if one can do actual collision detection (not just edge detection) between different objects in Motion? Inspired by that tutorial about creating a Pong game, I tried today to create an Arkanoid animation, just for kicks, and I found out that I needed 2 things:

    -Actual collision detection between, say, the ball and the bricks.
    -A way for an object to detect events (like a collision) and trigger parameter changes from there. Example: a brick that detects the ball colliding and sets its opacity to 0.

    Not a big deal. I was just curious about whether this was possible at all.

    Paulo.

    David Bogie replied 17 years, 1 month ago 4 Members · 3 Replies
  • 3 Replies
  • Doyle Rockwell

    November 29, 2007 at 4:21 am

    Howdy,

    You can fake the collision with repel behaviors, but there is no event/trigger system in Motion.

  • Steve Cardwell

    November 29, 2007 at 3:27 pm

    Hello,

    I know it’s not really what you’re after but this could be done very easily in Flash then exported as a quicktime movie file.

    Just a thought.

    Steve

  • David Bogie

    November 29, 2007 at 6:29 pm

    Never thought of using Flash but you can do pixel detection in After Effects with huge scripting and expressions.
    So, use Flash. Which means: Hire a Flash animator!

    bogiesan

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy