318: collision testing

Screen Shot 2016-04-30 at 8.28.47 PM.png
a green LED indicates contact

I’ve linked accelerometer data to two circle nodes in an application written in Swift—now you can move and they move.

The nodes are simulated ‘physics bodies’. This means I can get all sorts of interesting physics data from them—velocity, collision force, collision point…and send that data back to the Arduino to actuate things like mini vibrating motor discs. The data I’m most interested in using is the collision normal: a normalized value describing the direction of the collision.

Next step: mapping the collision normal to a circular array of mini motor discs

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s