AR Suite
...
Reference Manual
Tools Overview

Offset the Camera World Origin

2min

Offsetting the tracking data using an NcWorldOriginBP blueprint

The Ncam World Origin allows the datum point (origin) of the Ncam tracking system to be moved, rotated and scaled within the scene. As the virtual camera moves relative to this datum point, using an Ncam World Origin allows the virtual camera to be easily repositioned within the scene. It is a Blueprint that is located in the Unreal Content Browser under ā€œNcamARSuiteLite Content/BluePrintsā€ and simply placing it into a scene will adjust and reposition all tracking data relative its own 3D Transformation. This tool is very useful in production as the datum point of the Ncam system rarely corresponds to the origin within the Unreal scene and often requires rotating or moving to better locate the camera.

The world origin works by offsetting the tracking data that is received by the Ncam Live-Link subject. This is achieved through the use of an Ncam Frame Pre-Processor that applies a 3D transform to each frame of incoming data. This transform is updated directly by the Ncam World Origin Blueprint if it is placed into the scene.

Note that the camera's LiveLinkComponentController Transform Role must have it's "World Transform" attribute enabled to behave as expected.

Drag an NcWorldOriginBP into the scene to offset the camera tracking data and ensure that the camera's transform role has it's "World Transform" enabled
Drag an NcWorldOriginBP into the scene to offset the camera tracking data and ensure that the camera's transform role has it's "World Transform" enabled
ļ»æ

Offsetting the camera using a parent actor

Whilst the Ncam World Origin can be used to set the datum point, it shouldnā€™t be animated during run time as this will introduce stuttering in the cameraā€™s motion. To further offset the cameraā€™s location or to animate it we suggest that the camera is parented under another object such as a default actor. This means that when the parent object is moved or rotated, the cameraā€™s position will be too. This method can be used as a replacement for the NcWorldOriginBP. The image below illustrates how this can be achieved.

Parenting the camera under another actor will make it move relative to it.
Parenting the camera under another actor will make it move relative to it.
ļ»æ

ļ»æ