Stick figure
Posted: Sat Nov 17, 2007 2:21 pm
Hi,
I'm currently thinking about a way to simulate a user controlled stick figure using Chipmunk.
My thoughts so far:
For normal actions like running and jumping I'd simulate it just as a box and play some standard animations. Whenever there is a collision, I'd change to a more detailed description of the stick figure (5 lines and a circle), more or less a simple rag doll system. There should also be a possibility to hold fast to another object, e.g. a spinning wheel. In that case I'd also switch to the rag doll, but with a joint to the other object. After landing on a surface an interpolated movement back to the standard animation should be implemented quite easily.
What do you think about that? I'd to use the detailed description of the stick figure with 5 lines and 1 circle all the time, but that's not really stable, it would collapse all the time.
Cheers
I'm currently thinking about a way to simulate a user controlled stick figure using Chipmunk.
My thoughts so far:
For normal actions like running and jumping I'd simulate it just as a box and play some standard animations. Whenever there is a collision, I'd change to a more detailed description of the stick figure (5 lines and a circle), more or less a simple rag doll system. There should also be a possibility to hold fast to another object, e.g. a spinning wheel. In that case I'd also switch to the rag doll, but with a joint to the other object. After landing on a surface an interpolated movement back to the standard animation should be implemented quite easily.
What do you think about that? I'd to use the detailed description of the stick figure with 5 lines and 1 circle all the time, but that's not really stable, it would collapse all the time.
Cheers