michael.zhang Posted December 12, 2010 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
serega Posted December 13, 2010 Posted December 13, 2010 PlayerActor inherited from Node class. Node documentation contains the getPosition and setPosition methods.
michael.zhang Posted December 13, 2010 Author 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:
Recommended Posts