Jump to content

[SOLVED] PlayerActor docs missing get/setPosition


photo

Recommended Posts

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

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
×
×
  • Create New...