PDA

View Full Version : Chain mesh


Azumante
03-13-2012, 09:57 PM
Hi I've been trying to make a chain that will swing if you bump into it in UDK. I watched the physics tutorial on the UDK website and started to build it. so i have the basic mesh done and made into a physics asset but when I run the simulation it starts stretching out and the pieces start going all over the place. Just wondering if anyone new of a way to fix this. Thanks.

sprunghunt
03-13-2012, 10:02 PM
Sounds like the joint break threshold is too low. Or you've got overlapping physics volumes in your physics asset.

Azumante
03-13-2012, 10:58 PM
Will disabling collision help with that?

sprunghunt
03-14-2012, 06:05 AM
It would be a bit pointless to disable collision on an a physics asset.
Perhaps if you posted an image of the setup it would be easier to help?

Azumante
03-14-2012, 09:20 AM
http://s3.amazonaws.com/data.tumblr.com/tumblr_m0uyuouPqp1rpogzyo1_1280.jpg?AWSAccessKeyId =AKIAJ6IHWSU3BX3X7X3Q&Expires=1331828198&Signature=Xb%2F7%2Fr9GnXA0%2BLFd0ix51lzb7IM%3D
http://s3.amazonaws.com/data.tumblr.com/tumblr_m0uyw9u8rB1rpogzyo1_1280.jpg?AWSAccessKeyId =AKIAJ6IHWSU3BX3X7X3Q&Expires=1331828317&Signature=%2B5FIpiYN9%2Bignjci00NgJDgiR7A%3D

Azumante
03-14-2012, 09:44 AM
The first image is the mesh without the simulation, the second is with the simulation and you can see it stretching out. Sometimes it doesn't go completely all over the place but it still stretches down like rubber.

sprunghunt
03-14-2012, 06:05 PM
First go through and scale all the physics volumes so they don't intersect. When they intersect they'll immediately try to get to a position where they don't intersect. The force of this may break the joint among other problems.

If that doesn't work make sure that the joint is position limited.

Azumante
03-14-2012, 09:49 PM
Awesome thanks a lot, I just made 10 bones instead of one for each link in the chain which helped break it up. Thanks for the advice.

Visceral
03-15-2012, 02:11 AM
Added twist limits? Added Stretch limit?

Azumante
03-15-2012, 12:48 PM
I didnt see any stretch limit but i did add twist limit.