Coder Social home page Coder Social logo

omgitsraven / aframe-room-component Goto Github PK

View Code? Open in Web Editor NEW
64.0 64.0 16.0 120 KB

An A-Frame component for laying out simple rooms connected by doors.

Home Page: https://omgitsraven.github.io/aframe-room-component/

License: MIT License

HTML 10.71% JavaScript 89.29%

aframe-room-component's People

Contributors

omgitsraven avatar oparamo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

aframe-room-component's Issues

Thanks!

Just wanted to say: Big Thank You! for the upgrade for aframe js 1.3+
works great ! Excellent component one of the Most useful. Cheers!

raycast error

Hello,

While using the room-component, I see a JS console error as follows, even though the rooms do showup.

three.js:15179 Uncaught TypeError: Cannot read property 'count' of undefined
at Lt.Object.assign.raycast (three.js:15179)
at Xn (three.js:39252)
at Xn (three.js:39260)
at jn.intersectObjects (three.js:39329)
at i.tick (raycaster.js:165)
at a-scene.js:517
at Array.forEach ()
at HTMLElement.value (a-scene.js:515)
at HTMLElement.value (a-scene.js:562)
at HTMLElement.render (bind.js:12)

Great Job On This Project

This is great. I'm using this for building out a new rapid prototyping package that I use for teaching immersive design, UX, and work.

Is it possible to add custom materials to the walls (floor, ceiling)? That's the only thing I seemed to be running into an issue on.

Room component and A-Frame physics

Is there any possible solution in order to make a-walls solid? I tried using the a-frame physics script but rooms and walls do not follow the same logic with other components. Eventually I set a a-plane behind each wall to block the user-camera? Could we make a custom component inherit from a primitive one?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.