Jump to content

Position Bone and Joints


Yue
 Share

Recommended Posts

		function this:InitJoints()
			
			self.posNeck = self.jboneNeck:GetPosition(true)
			-- >>> Not Work self.jHeadSpine2 = Joint:Hinge(self.posNeck.x, self.posNeck.y, self.posNeck.z, 1,0,0, self.modelSpine2, self.modelHead ) 
			self.jHeadSpine2   = Joint:Hinge(self.modelHead:GetPosition(false).x,self.modelHead:GetPosition(false).y,self.modelHead:GetPosition(false ).z,1,0,0, self.modelSpine2, self.modelHead )
		end

For some reason this does not work correctly, I want to move some rigid bodies and create a collision in the position of the character having as a point of union the position of the bones of the nape of the neck. But it doesn't work. 

However it does work with some element of the head collider or the toras.

Any suggestions.

 

 

Link to comment
Share on other sites

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.

 Share

×
×
  • Create New...