À propos des Ancres
Les ancres positionnelles représentent une position dans la scène.
Vous pouvez attacher une ancre positionnelle à un message d’écran, à un son, à une ressource 3D, etc. Vous pouvez également les utiliser avec les World Proximity Conditions [Conditions de Proximité avec le Monde] pour savoir si un utilisateur s’est déplacé vers un certain endroit dans la simulation VR.
Ces ancres sont personnalisables car vous pouvez créer et déterminer une position personnalisée dans la scène manuellement ou à l’aide de l’Éditeur RV.
Autres Types d’Ancres
Ancre nommée (type de catalogue) : Ancre qui existe dans l’APK (prédéterminée) et qui n’est pas configurable. Les Ancres de Scène se trouvent à cet endroit.
Ressource d’Ancrage de Scène : la Ressource d’Ancrage de Scène attache une ancre à un objet de scène. Les ancres représentent une position dans la scène. Cette ancre peut être utilisée par d’autres ressources, telles que les ressources Message d’Écran et Déplacer l’Utilisateur.
Contrairement à la ressource Ancre positionnelle, la ressource Ancre de scène s’attache simplement à un objet de scène dans la scène. Sa position ne peut pas être configurée.
Ressource d’Ancrage IU : La ressource d’Ancrage d’interface utilisateur (IU) attache une ancre à un objet de la scène. Les ancres représentent une position dans la scène. Cette ancre doit être utilisée par les ressources de l’IU, telles que Message d’écran ou Annotation.
Par rapport à d’autres ressources d’ancrage, cette ressource fournit des champs facultatifs supplémentaires qui peuvent améliorer l’expérience d’IU avec les panneaux d’IU.
Création d’Ancres Positionnelles
Procédez comme suit pour créer votre une ancre positionnelle personnalisée :
Ouvrez un projet dans StoryFlow.
Accédez à votre catalogue d’ancres dans la zone du catalogue et ouvrez le dossier Ancre
Positionnelle Nommée (ou créez-en un s’il n’existe pas)
Scenarios/Scénarios … Catalogs/Catalogues (x2) … Named Positional Anchor/Ancre Positionnelle Nommée … Created Workshop Anchors/Ancres de l’Aletier Crées … Named Anchor/Ancres Nommées … Workshop Anchors/Ancres de l’Atelier
Créez une nouvelle Ancre :
Save your changes in StoryFlow.
Setting the Position of your Positional Anchors
There are 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.
Another great resource is the VR Editor. Using this feature, you are able to place the positional anchor in the scene within the headset. For full instructions, click here.
Example: Playing Media at Positional Anchor
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.
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:
Example: Using World Object Proximity Conditions with Positional Anchor
The World Object Proximity Condition is met when the user is within range of the specified world objects. In this example, I want a screen message to appear once the learner moves to a certain location that I've determined with my "Anchor 2".
Using the VR Editor, I've placed my "Anchor 2" in front of the paint cans in my Workshop:
In my script, I've added the World Object Proximity Condition to the desired frame. In this case, it has become a compound condition (two or more conditions) because I want this to trigger when the last notification has been closed by the learner AND they come within the *range I've specified of my "Anchor 2":
I've added a screen message and a notification sound to play once the learner is in the correct spot:
When I test in the headset, you can see that the resources play once the conditions above are met:
For full screen please view on Vimeo at this link