adjust controller position on z a bit to line up

This commit is contained in:
Kevin Ngo
2018-12-01 19:48:56 -08:00
parent f4172b1d1a
commit 7b22c83517
3 changed files with 56 additions and 55 deletions

View File

@@ -46,6 +46,7 @@ AFRAME.registerState({
songName: '',
songSubName: ''
},
controllerType: '',
damage: 0,
genre: '',
genres: require('../constants/genres'),
@@ -162,6 +163,10 @@ AFRAME.registerState({
state.challenge.isLoading = true;
},
controllerconnected: (state, payload) => {
state.controllerType = payload.name;
},
/**
* To work on game over page.
*