Jump to content

Recommended Posts

Posted

 

Test to restore skeleton after the ragdoll effect, the idea that the character after activating the effect can stand up again. This test implies that by means of an animation I can restore it to its standing position.

This is not conclusive, as I have to see how I attach the bones to the rigid bodies.
 

 

 

 

Astrocuco.thumb.png.c76e0fb3de2d6e437e7dca099625e11e.png

Posted

It seems that this time I will succeed, the idea is to activate the ragdoll effect, and if the player still has life he will stand up. And if the life is at zero, he will not stand up. @Josh

 

 

 

Astrocuco.thumb.png.c76e0fb3de2d6e437e7dca099625e11e.png

Posted

image.thumb.png.8318a1ec14f87364b6319ce7b5b75b66.png

		function this:Start()
			
			self.skeletal = CBones:New()
			self.bodies   = CBodies:New()
			

			self:SetPositionBodies()
			--self:SetRotationBodies()
			
			self:GetPositionBodies()
			
			self:StartJoints()
			self:SetRotationBodies()-- Here Solved Problem.
		end 

And this is where for a long time I have suffered with the rag doll effect. Create the joints and then rotate them in relation to the bones, there is only this possibility, if you do it too early, the ragdoll effect does not work correctly.  

 

 

Astrocuco.thumb.png.c76e0fb3de2d6e437e7dca099625e11e.png

  • 2 weeks later...
Posted


Experimenting with rigid bodies in the ragdoll, I think this lends itself to many interesting things.  For example, when the player takes damage to certain parts of the body, for example, the head, or an arm.


imagen.thumb.png.cf9081058e372374d1afacfa305cd98a.png

 

 

Astrocuco.thumb.png.c76e0fb3de2d6e437e7dca099625e11e.png

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...