C3DObject::GetPosition

Top  Previous  Next

Syntax:

 

GetPosition(int  bWorld), VECTOR3

 

Purpose:

Retrieves the position of the object in world or local space.

 

Parameters:

bWorld - World space flag.

 

Returned value(s):

A VECTOR3 UDT containing the x,y and z position of the object.

 

Application:

See the example program 'world_local.eba'

 

Class Hierarchy

C3DObject

 

Additional Info:

If bWorld is TRUE then the position returned is expressed in world space coordinates. If bWorld is FALSE then the position returned is expressed relative to the parent object.