How to wear an equipment in a 3D RPG like game

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By SilverLuke
:warning: Old Version Published before Godot 3 was released.

Hi everyone,
I would like to know how to make my character wear an armature (or wield a weapon), so that it fits the player’s model in any moment of an animation.
I have already tried with PinJoint without success.
My game is Freedom Hunter, it is my first project with Godot.

Have you tried to add the equipment as child?

wf192 | 2016-11-26 20:11

For attaching weapons or equipment, you can use BoneAttachment, which will attach an object to a bone of the character model.

I don’t have experience on this though, and even less about wearing stuff on a character. I suppose it could be an additional model with a slightly similar set of animations (because if you wear cloth, the cloth could move differently), so you can model the raw character, and then everything it can wear that is not just a texture change.

Zylann | 2016-11-26 22:50