0

I cannot get the look controls to work with aframe-react. WASD controls work fine, and the assets appear fine.

import React from 'react';
import 'aframe';
import {Entity, Scene, Animation} from 'aframe-react';

class AugmentedForest extends React.Component {
  render() {
    return (
      <Scene>
        <a-assets>
          <img id="forest-360" src="./images/forest_360.JPG"/>
        </a-assets>
        <Entity>
          <Entity camera="" look-controls="" wasd-controls=""/>
        </Entity>
        <a-sky src="#forest-360"/>
      </Scene>
    );
  }
}

export default AugmentedForest;
Knoland
  • 99
  • 1
  • 9

0 Answers0