michael.zhang Posted December 12, 2010 Share Posted December 12, 2010 Hi, Wanted to inform you that the PlayerActor documentation does not list the getPosition and setPosition methods. I believe they exist because: // character.h void setPosition(vec3 position) { actor.setPosition(position); } vec3 getPosition() { return actor.getPosition(); } Michael Zhang Link to comment
serega Posted December 13, 2010 Share Posted December 13, 2010 PlayerActor inherited from Node class. Node documentation contains the getPosition and setPosition methods. Link to comment
michael.zhang Posted December 13, 2010 Author Share Posted December 13, 2010 PlayerActor inherited from Node class. Node documentation contains the getPosition and setPosition methods. Oohh, I see. I guess I just looked at its parent Player, but didn't check Player's parent, as well. Thanks, my mistake. :lol: Link to comment
Recommended Posts