Quote Originally Posted by GCDEF View Post
Your question is clear, your understanding of the problem isn't.

You're trying to call a non-static member function of a class. To do that, you need an instantiation of the class - an object. You're trying to call the function as if it were static and it's clearly not defined that way. It's not a header/cpp issue, it's a not calling the function properly issue.

Can you post the code where you tried to create an object?
here we go

*****************************************
AgentActionComponent Obj;
Obj.getEntityPosition(m_characterID2);
*****************************************
it says no default constructor .............. on taking cursor to Obj .. i tried delcaring default constructor
but it doesnt work yet ...........
any suggestions