There are a Gun Entity (which instantiated the Gun GameObject) and a PlayerEntity (Instantiated the Player GameObject) in my scene. The Player GameObject contains a rig with a hand bone.
Tried adding the Parent Data to the Gun Entity, but it doesn't allow me to specify which part of the entity I want it to parent to:
state.EntityManager.AddComponentData(entity, new Parent() { Value = playerEntity });
Am I supposed to create an entity for my hand bone to make this work?
Feels like this is a stupid question but I am stuck here for hours now, so any help is welcomed!!