Overview of the Positional Anchor Resource
For an overview on Positional Anchors, click here.
The Positional Anchor resource attaches an anchor to an object in the scene. Anchors represent a position in the scene. This anchor can be used by other resources, such as the Screen Message and Move User resources.
The Positional Anchor resource has two different position types:
- Fixed Position
- Relative Position
The Fixed Position setting allows the author to configure the coordinates of the Positional Anchor, as well as its rotation.
The Relative Position setting allows the author to configure the angle, distance, and elevation of the Positional Anchor, as well as its rotation.
The author is also able to specify an anchor to which this Positional Anchor is attached to.
If an anchor/scene object is specified, the Positional Anchor's position will be relative to the anchor's origin/pivot point. Otherwise, the anchor will be relative to the scene's point of origin.
Specifies the position of the anchor.
This position can be one of two types: Fixed Position or Relative Position.
Example in the Headset:
Let's say I want to add a video at a certain point in the scene in a particular location. I'll use the positional anchor to place the video exactly where I want. I've previously used the VR Editor to create a custom location, instead of manually adding a fixed or relative position.
- Open the appropriate script and go to the area where your scene objects are.
- Use the catalog icon on the far right to find your positional anchor.
- Drag the anchor to the script and save.
- Open the frame where you want to put the resource. In this example, I want to add a video at the end.
- Add the appropriate resource for the content and select your custom anchor:
- Test in the headset: