[LibGDX] Equip item 3D

Hi all,

I started game development with Unity, and today I want to see how a game engine works.
So, I learned LibGDX from a book (Building a 3d game with libGDX) and I want to equip an item to a 3D models.

In unity I attach item to my model with blender, I just want to know if it’s the same with LibGDX ?
My question is :

Do I need to create a java class to manage the attachment of the object to the bones of the model?

Thanks for your feedback.
Have a nice day !

You will have to do some manual work but LibGDX already exposes the necessary data for you to work with.

[quote]Do I need to create a java class to manage the attachment of the object to the bones of the model?
[/quote]
Yes, you will need to grab the current position of the node (=> bones in blender) and set the attachments position accordingly. You can make this easier for yourself by creating an dummy bone in blender that denotes the attachments position and rotation relative to the model.

Check this out: https://github.com/libgdx/libgdx/wiki/3D-animations-and-skinning
And this: https://libgdx.badlogicgames.com/ci/nightlies/docs/api/com/badlogic/gdx/graphics/g3d/model/Node.html

Thx for the links.
You’re awesome :wink: