0

How is "examine" mode enabled in an A-Frame scene?

This is the mode that the Visual Inspector uses to browse through the scene and it is also the mode used in this showcase example.

VRML had the NavigationInfo node which provided three viewing modes (through the type attribute): Walk, Fly, Examine.

A-Frame provides the "wasd-controls component" which has an attribute fly (this basically implies two modes: Fly, Walk) and the "look-controls component" which could be used to control a scene's orientation (?)

It is not entirely clear if it is possible to enter "examine" mode via a scene attribute (or "mode") or if this is something that has to be implemented via a code snippet (?)

What does "examine" mode look like in A-Frame?

3
  • I would appreciate a bit of clarification around the "-1" vote in this question (?). Apart from describing the scene, VRML also contained nodes on specifying how the scene is to be perceived. Functionality that is shared by A-Frame...so where is the "-1" worthy sin there?
    – A_A
    Apr 15, 2020 at 8:31
  • Are you looking for something like the Three.js OrbitControls, setting the target of the control to the center of the object to be examined?
    – Stemkoski
    Apr 19, 2020 at 4:33
  • @LeeStemkoski Thank you, this is along the right track I think, but would it be "best practice" from the point of view of A-Frame? I appreciate that its focus is VR and in VR an "orbit camera" does not make much sense but still, it is a useful mode of interaction. Isn't there a way of enabling it from a scene attribute rather than having to explicitly write code for it?
    – A_A
    Apr 20, 2020 at 10:10

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.