Flip a character
Posted: Sat Dec 29, 2012 10:35 pm
Hey,
I've created a rag doll character in rube that I've been able to do skeletal animation on, using mouse joints and xml data coordinates. Body parts have limited rotation by revolute joints etc. But I've run into trouble. I can't figure out how to make this guy flip and walk in the opposite direction, which obviously is really important. Every part of him needs to mirror somehow, joints needs to receive new limits etc.
I'd love to see some sort of tutorial on this or if anyone can point me in the right way of thinking please share! The only hints google offered was this thread http://gamedev.stackexchange.com/questi ... n-in-box2d - which basically suggests to keep a mirrored version and switch between the two versions. I'd see that only as a last resort since it would break the simulation, be heavier on the computer and create jitter the moment you switch direction.
I've attached a screen shot from rube to get a feel for how I set up the character.
Thanks
I've created a rag doll character in rube that I've been able to do skeletal animation on, using mouse joints and xml data coordinates. Body parts have limited rotation by revolute joints etc. But I've run into trouble. I can't figure out how to make this guy flip and walk in the opposite direction, which obviously is really important. Every part of him needs to mirror somehow, joints needs to receive new limits etc.
I'd love to see some sort of tutorial on this or if anyone can point me in the right way of thinking please share! The only hints google offered was this thread http://gamedev.stackexchange.com/questi ... n-in-box2d - which basically suggests to keep a mirrored version and switch between the two versions. I'd see that only as a last resort since it would break the simulation, be heavier on the computer and create jitter the moment you switch direction.
I've attached a screen shot from rube to get a feel for how I set up the character.
Thanks