Jump to content

Attaching to BONE_SPINE1 doesnt work


McDeKi

Recommended Posts

Hello, I wanted to attach object to spine with bone_attach resource.

  
function Obiekt(ID) 
    local element = createObject(ID,0,0,0,0,0,0,true) 
    exports.bone_attach:attachElementToBone(element, source, 3, 0, -0.25, 0, 85, 0, 0) 
    outputChatBox(ID) 
    return true 
end  
addEvent("TymczasowyPrzedmiot", true) 
addEventHandler("TymczasowyPrzedmiot", root, Obiekt ) 
  

It works fine with other bones, but if I attach it to BONE_SPINE1 object is invisible.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...