Syntax

dbLockObjectOn(ObjectID)

Description

This command will lock the specified 3D object to the screen. Locking objects to the screen commands the object to completely ignore the camera's influence. A locked object will be positioned as though the camera had never been altered from its default orientation. To make locked objects visible, simply set the Z position to a significant positive value. The Object Number should be specified using an integer value. Be aware that locking objects performs a relationship between the object and the screen, not to a specific camera. Moving the camera, or creating new cameras will not affect the visibility and placement of a locked object, nor will the object return world space coordinates when locked to the screen.

See Also

dbDisableObjectZDepth, dbEnableObjectZDepth, dbLockObjectOff