I Got Problem witch Attachment:(
I got custom player component that includes Cry::DefaultComponents::CAdvancedAnimationComponent
In editor when i try attach a child to parent bone it doesnt display bone list so my question is how to fix it or just code the bone attachement in c++ i found not much about child parent system in c++ documentation... just basics like:
IEntity *child = gEnv->pEntitySystem->FindEntityByName("child");
if (child)
{
m_pEntity->AttachChild(child, childParams);
}
and it Works! but i cant figure out how to attach things to bone in c++ code:(
I would be happy if someone just tell me how to get bone list from Cry::DefaultComponents::CAdvancedAnimationComponent and how attach objects to bones in c++
