Well, imagine the scenario where i have 3 objects, hanging from the "ceiling", each one by a string (inside a b2World). They are 开发者_运维百科touching each other side by side.
Each object has a Flash Mouse_Over event that makes itself use tweenlite to scale bigger, and Mouse_Out it scales back to the original size.My question is: do the other two objects respond to those TweenLite animations, using the Box2D motor?
Thanks
Answer: Sort of.
Box2D objects do not scale. But you can make it appear that they do.
Here is a great tutorial walking you through exactly how to do that: http://www.emanueleferonato.com/2009/12/16/scaling-objects-with-box2d-part-2/
精彩评论