Overseer.Traveler Object

Use the properties and methods of this object to affect the position and movement of the user's camera.

Properties (Methods)

(climbMode, height, levitation, step)

 

bool climbMode

   

If set to true, the traveler will climb over blocking objects. If set to false, the traveler will be blocked by objects that are too tall.

 

double height

   

The traveler's height. Eye level is levitation + height.

 

double levitation

   

The amount the traveler is above ground, or other solid objects. Eye level is levitation + height.

 

double step

   

The size of one traveler step. Setting this to larger values will make the traveler appear to move faster or slower, thus emulating running or crawling.

Methods (Properties)

(GetPos, GetDirection, SetDirection, SetPos)

 

Vector GetPos(void)

Returns a Vector object containing the current position (x, y, and z) of the traveler.

 

Vector GetDirection(void)

   

Returns a vector containing the facing (3 angles in degrees) of the traveler.

 

void SetDirection(double x, double y, double z)

   

Turns the traveler to face direction x, y, z (in degrees).

 

void SetPos(double x, double y, double z)

   

Moves the traveler to position x, y, z.



Copyright© 2001 Thought Guild Inc.