Yue Posted January 14, 2021 Posted January 14, 2021 There is some tutorial on how to make the rag doll effect. I am doing some tests, but I would like to know if anyone already has an idea in the community of the steps to follow. The idea is that the effect is activated when the character dies, and a disturbing question is : Is it possible to reverse the effect, like when in gta V you are hit by a car and then the character is reincorporated. Quote
Thirsty Panther Posted January 15, 2021 Posted January 15, 2021 Tipforeveryone did a nice one some time ago. 1 Quote
Yue Posted January 19, 2021 Author Posted January 19, 2021 -- Torax. self.torax:SetPosition(self.boneTorax:GetPosition(true),false) self.torax:SetRotation(self.boneTorax:GetRotation(true),false) self.boneTorax:SetParent(self.torax,true) self.torax:SetMass(1.0) -- Externon. self.externon:SetPosition(self.boneExternon:GetPosition(true),false) self.externon:SetRotation(self.boneExternon:GetRotation(true),false) self.boneExternon:SetParent(self.externon,true) self.externon:SetMass(1.0) -- Pelvis. self.pelvis:SetPosition(self.bonePelvis:GetPosition(true),false) self.pelvis:SetRotation(self.bonePelvis:GetRotation(true),false) self.bonePelvis:SetParent(self.pelvis,true) self.pelvis:SetMass(1.0) -- Joints. self.jointPelvis = Joint:Hinge(self.externon:GetPosition(false).x,self.externon:GetPosition(false).y,self.externon:GetPosition(false).z, 1,0,0, self.pelvis, self.externon ) self.jointPelvis:DisableLimits() I have a problem here, I have three bodies that I assign to the bones of the mesh. These have joints, but when I assign them to the mesh they sink into the ground. However if I don't assign them to the mesh, they don't sink, any suggestions? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.