Resize geom @ runtime

Feb 18, 2008 at 7:01 PM
Edited Feb 18, 2008 at 8:17 PM
Hi everybody!

Iam trying to change the size auf a geom by creating a new AABB. But this has no effect to the geom.
So i thought, just delete the geom and create a new with the new sizes. Now i got the problem to set force, velocity....e.g. to the new geom. Is there a simple way to just resize a geom???

Btw, is there any chance to create a ragdoll with Farseer???

Thx a lot


PS. Sorry for my bad english ;)
PPS i am using XNA 2.0
Feb 19, 2008 at 5:02 PM
I haven't come across a situation where I need to swap geometries yet, but I'd imagine that's all you need to do. As long as you keep the original Body object, it should retain its velocity, position, etc.

Ragdolls are just rigidbodies held together with joints. I'm working on something that uses ragdolls. (Only not so limp.)
Feb 19, 2008 at 11:55 PM
If you don't mind installing Silverlight 1.1 alpha, I have a small demo here:

It's the "Throwing People: A Farseer Physics Demo" one.

Feb 21, 2008 at 6:28 PM
For some unknown reason I can't install Silverlight. So, can't have a look at the demo.
I want to do the same: change or resize the geom. Can you post how it works in here?

Thank you very much.