Physics with bitmap images?
Moderators: Víctor Paredes, Belgarath, slowtiger
Physics with bitmap images?
In AS pro 7, does the new Physics engine work with bitmaps or is it just vectors?
-
- Posts: 370
- Joined: Thu Aug 05, 2004 2:23 am
- Location: Los Angeles
- Contact:
- ErikAtMapache
- Posts: 94
- Joined: Mon May 17, 2010 11:51 am
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.
Find me on Content Paradise at:
http://www.contentparadise.com/SearchRa ... xt=mapache
http://www.contentparadise.com/SearchRa ... xt=mapache
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.
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.
-
- Posts: 3
- Joined: Mon Oct 04, 2010 11:00 am