How to attach gun to bone?

I want to attach a gun, to a bone from a model. I know the bone name, but I don’t know how to attach it. I tried using addChild, but that did not work. How can I attach the gun to the bone?

Hi @HTML_Celeb,

Do a forum search and you will come up with several posts that offer advice on that:

1 Like

What do you mean by did not work? Do you get any errors?

Here’s an example anyway to help: https://playcanvas.com/editor/scene/1062671

1 Like