The base object

The base object defines a position in 3D space. This object is returned by all (accessible) elements in the 3D scene. Through the base object you may change the position or orientation of the object. You can get and set the position and orientation both in terms of absolute (world) coordinates or relative to the parent object.

Constraints always get computed so there is no guarantee that for example after setting the position, the object will actually be at that location. Animations playing on an object may also override the values you set.

There are some usefull functions if you have limit constraints on the object. In this case you can obtain as a percentage value the position or orientation of the object with respect to the constraint range. See the folowing documents;

ELimitRatio for information on Euler limit constraints and the base object.
SLimitRatio for information on spherical limit constraints and the base object.
TLimitRatio for information on translate limit constraints and the base object.

Properties, Events and Methods

Name Type Description
aim PropertyThe vector object with the aim vector relative to the parent
ELimitRatio PropertyThe vector object with the orientation as a ratio of the attached euler limit constraint
euler PropertyThe vector object with the euler angles of the orientation relative to the parent.
position PropertyThe vector object with the position relative to the parent.
SLimitRatio PropertyThe vector object with the orientation as a ratio of the attached spherical limits constraint.
TLimitRatio PropertyThe vector object with the position as a ratio of the attached translate limit constraint.
worldAim PropertyThe vector object with the aim vector in world coordinates.
worldEuler PropertyThe vector object with the world euler anges of the orientation.
worldPosition PropertyThe vector object with the position in world coordinates.

 

©2000 arcticpigs. All rights reserved.
This is a draft version! The functionality of parts of the software are liable to change.