Updated to version 1.3
* Fix: removed an alert left in the set mass action.
* Fix: speed expression was broken.
mattb
I'll have to give this more thought to keep things simple. Ideally we could coose from:
layout x,y
imagepoint
relative to orientation of the object *(what's currently done)
boybacteria
Thanks for the icon. It makes it look like a physics behavior as much as the name does.
edit: opps, forgot to add it. will next update for sure.
spongehammer
That's a typo on my part. I used ^ which in js means xor instead of squared.
Prominent
The built in physics' mass property is more like density, since the box2d mass is calculated with the area of the shape.
You can do the same in this behavior by setting the mass to with the area expression.
mattb
Here's a capx that sets the mass based on object size.