Questions tagged [aframe]

For anything related to A-Frame (aframe.io). A-Frame is a web framework for building virtual reality experiences. A-Frame lets us build scenes with HTML while having unlimited access to JavaScript, three.js, and all existing Web APIs. A-Frame is an entity-component-system framework that promotes composition and extensibility. With WebVR, most headsets/controllers can be used with A-Frame: Vive, Rift, Daydream, GearVR, Cardboard, or plain 2D mode.

For anything related to A-Frame. A-Frame is a web framework for building virtual reality experiences. Originally started at Mozilla, A-Frame is an independent open source project.

A-Frame is based on top of HTML, making it simple to get started. But A-Frame is not just a 3D scene graph or a markup language; the core is a powerful entity-component framework that provides a declarative, extensible, and composable structure to three.js.

A-Frame supports most VR headsets and controllers such as Vive, Rift, Daydream, GearVR, Cardboard, and can even be used for augmented reality. Although A-Frame supports the whole spectrum, A-Frame aims to define fully immersive interactive VR experiences that go beyond basic 360° content, making full use of positional tracking and controllers.

2920 questions
0
votes
1 answer

Aframe not registering component

I am a teacher whose class is using Aframe to create VR websites. One of my students is having an issue where he cannot get his navigation to work to take the user to a different page. The code he is using in JS…
Ben Allan
  • 3
  • 1
0
votes
1 answer

How to make object walk up and down stairs/fall if there is no "floor"?

I'm totally new to AFRAME and html. I made my first virtual experience recently!! For the next step, i want to make some stairs that the character/first person camera can walk up and down, and also a hole in the floor so the character/first person…
YUNG
  • 31
  • 2
0
votes
1 answer

Get Camera Animated On Path In Aframe To Stay Focused On A Subject

I have a camera that is animated using the alongpath component and I want the camera to stay focused on a target. I've tried using both orbit-controls and look-at components with no luck. For some reason, I can get them either to either do nothing…
0
votes
1 answer

Move Camera Along Path Based On Scroll Position In Embedded Aframe.io Scene

I've had trouble finding a solution for this in Aframe because I guess it’s an odd use case. I'm wanting to make an embedded Aframe scene as the background of a webpage and have the camera animate along a path as a user scrolls down the page. I've…
0
votes
1 answer

How can I auto walk in A-Frame?

For my A-Frame project I want the player to move forward without depending on any controllers or keyboards. The player should always be moving forward, and should be able to decide the direction by looking around (without changing the z value).…
Jeroen Bol
  • 60
  • 1
  • 6
0
votes
1 answer

aframe, TransformControls is not working about 3D object

this picture is no problem. but under picture is problem. I am using aframe and https://threejs.org/docs/#examples/en/controls/TransformControls
0
votes
1 answer

Wrong width of a-scene. a-frame with ar.js using Vue with ionic

I am currently working on an AR project with Vue in combination with Ionic. For this I have so far used A-Frame with Ar.js. On my physical device (iPhone) I already get a video output, but the video output is only 1/3 of the device width. The rest…
Itzuko
  • 54
  • 8
0
votes
1 answer

A-frame set physics to a variable

I am creating a scene using A-frame (https://aframe.io) and I'm wondering how I can set the physics in my scene to variable using the A-frame physics component. What should happen is the physics inside my scene should be set to the value of my…
Aidan Young
  • 554
  • 4
  • 15
0
votes
1 answer

Aframe update camera fov at runtime

I've been trying to update properties of the camera on the fly to no avail - really don't want to setup multiple cameras and switch between them. AFRAME.registerComponent("camera-controller", { init: function() { …
0
votes
0 answers

Do SteamVR headsets, like the HTC Vive, not work with A-Frame and WebVR or WebXR anymore?

I have been struggling for a while to get my A-Frame scenes to display in my VR headset through SteamVR. Simply put, my goal is to find a way to get A-Frame projects to properly display on my headset, but instead my headset receives no feed from the…
0
votes
1 answer

Getting both True and False for the same value A-Frame?

I am new to A-frame so any help is much appreciated. I am using the aframe-event-set-component to change the visibility of one object [drgn] when the user looks at another object [rune]. During this visibility shift, when the dragon is visible, I…
0
votes
0 answers

A-frame light doesnt effect object

I am working on a scene in A-frame and I'm wondering how I can create an object that light doesnt effect. This means that no matter what lighting my scene has, this object wont be impacted by the lighting and will have default lighting. How can this…
Aidan Young
  • 554
  • 4
  • 15
0
votes
1 answer

A-frame animate object on function

I am creating a scene in A-frame and I'm wondering how I can create something where when a function called myFunction() occurs, an animation will start. How can this be done? Current code:
Aidan Young
  • 554
  • 4
  • 15
1 2 3
99
100