How to: Combinine Sprites and Physics

Hello Corona.

I’m working on a game where I would like to have fluid movement of characters integrated with your physics engine.

An example of such a game is Limbo:
http://www.youtube.com/watch?v=UDahCLW5T3g
http://deluxe-tools.net/

I am currently using Sprite Helper and Level Builder
http://www.spritehelper.org/
http://levelhelper.org/

And they are great for integrating Sprites with Physics.

The problem I am facing is that the Sprite’s physics boundaries are determined by the first-frame of the animation. This works for simple things, but if I want a character to wave their arms or to crouch into a small ball it needs to have its physics-boundary modified to be a multi-point polygon that actually goes around the character in question.

I have all of the coordinate points needed for all of the various intermittent “stages” of the animation (frame 1 boundary-points, frame 2 boundary-points etc.).

Is there a way to:

1.) Have a sprite change its physical-boundaries in real time during animation?
2.) Animate the physical boundaries of a cartoon-like character?

Or am I going about this wrong and I need to re-think it all?

I’ve considered using joints but then it would be more of a puppet character than a fluid cartoon shape, and cartoon shapes are preferable for the style I am aiming for than puppets with joints.

Thank you for any help you can provide. I am not “bound” by Level Helper and Sprite Helper if there is a better way to do with w/o using these tools. I just need a solution irregardless of which tool or method I am using to achieve it.

Thank you kindly!

Sincerely,

Sebastian. [import]uid: 150267 topic_id: 29176 reply_id: 329176[/import]

I would rethink it a little, use a complex body and have each main body part be its own physical body. [import]uid: 52491 topic_id: 29176 reply_id: 117392[/import]

Thanks for the tip, I’ll try and see if I can’t build it from 2 or 3 sprites and move them as a whole instead of using joints. [import]uid: 150267 topic_id: 29176 reply_id: 117924[/import]