3DStreet / citybuilderjr

Experiment to make a simple tile-based city block builder
https://3dstreet.github.io/citybuilderjr/
GNU Affero General Public License v3.0
0 stars 1 forks source link

add grid support to state #12

Closed kfarr closed 10 months ago

kfarr commented 10 months ago

test with this in console:

AFRAME.scenes[0].emit('addGridObject', { lon: 2, lat: 1, model: 'road_junction', // Assuming model data is passed rotation: 0, elevation: 0 });