Page 1 of 1
Physics with bitmap images?
Posted: Tue Jun 22, 2010 6:05 pm
by benecosse
In AS pro 7, does the new Physics engine work with bitmaps or is it just vectors?
Posted: Tue Jun 22, 2010 6:21 pm
by ponysmasher
Just tried it and no, not with just a bitmap layer.
You'll have to bind it to bones, but then it won't react according to the shape of the bitmap, just the bone.
Posted: Tue Jun 22, 2010 6:57 pm
by benecosse
Posted: Tue Jun 22, 2010 10:12 pm
by ErikAtMapache
I don't have ASP7 but physics was probably implemented without a limitation on opacity, so try adding a vector layer, tracing around your bitmap, and then setting the opacity to 0.
Posted: Wed Jun 23, 2010 12:35 am
by heyvern
You can use an image texture in a vector shape and then, yes, images will work with physics.
-vern
Posted: Sun Jul 11, 2010 6:41 am
by jstuartj
I've been playing with this a bit over the weekend.
I wanted to take an illustration of a 50lb weight, and drop it on a see-saw type device with boxes on the other end. Now I could trace it, but I would looses the textures and the look I wanted.
I tried image textures, but had trouble lineing the up correctly and was unable to find a way to adjust the points with out distorting the contained texture.
What I ended up doing is, binding an image layer to a bone, and then binding a vector layer to that same bone as a bounding box, in ruffly the shape of my illustration. Then I simply turn off the bouding boxes visablity. Tada I could have my ACME style 50lb wieght drop on the See-saw, catapulting whatever I placed on the other end.
It's sort of a variation on the bonding box method used in games.
I haven't done much testing yet, but it appears to work best, if the bounding bone is small, pointing strait up and placed at the center of gravity of the bonding box.
J. Stuart J.
Posted: Mon Oct 04, 2010 11:32 am
by arthurbrute
I think that Member States have the legal right to cover your ass and tell you to ensure the authorization obtained. If you find a license that says its OK to share with the entire font as a bitmap and you are good.