Jump to content

Recommended Posts

Posted

I am trying to put the case of my character having as reference the spindle of the nape of the neck, but it turns out that when he is falling into the void after a jump the case starts to float above his head, this using attach.

image.thumb.png.3c77d1ba6e3ee471900f900d702ae1e3.png

 

Now, if I use SetParent, to attach it to the mesh, whose root bone is in the middle of the legs, when falling the helmet does not move from its position.


image.thumb.png.53978aac60a80c871aa9e5fb967a6d1c.png

 

 

In such a case I need to position it in the head, in the Neck bone, and I have found a partial solution. 

image.thumb.png.145e6c51d6ba86f86f13baef4f15fb95.png

    function this:UpdateHelmet()
       
        helmet:SetPosition(0,0.12,-0.03)
        helmet:SetRotation(-20,0,0)
        helmet:Attach(ela,boneNeck)
       
    end
 
... self:UpdateHelmet() -- Run Ok.

 

 

 

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...