Coder Social home page Coder Social logo

Collision detection? about three.js HOT 4 CLOSED

mrdoob avatar mrdoob commented on May 2, 2024
Collision detection?

from three.js.

Comments (4)

eligrey avatar eligrey commented on May 2, 2024

That's not something you put in a 3D rendering library, but in a game library.

from three.js.

 avatar commented on May 2, 2024

For me personally, I don't think three.js is strictly rendering (although it does that very well) and looking at functions like Ray, I guess collision detection could be a next step. It is however Mrdoob's decision to make, so let's see what he says about this.

Note: I don't say it couldn't be in a different lib or a 'plugin' of sorts for three.js, but I just want to know whether it is planned in three.js and if not, whether anybody (you?) knows any lead for me to help me implement it myself.

Update: I've just been reading this http://www.gamedev.net/reference/articles/article736.asp which is interesting and I understand what they are saying. :D/ The initial question remains though :)

from three.js.

mrdoob avatar mrdoob commented on May 2, 2024

Yeah, Eli is right. We better focus on the actual rendering.

Ray was a very simple class to do basic object picking. It can also be used for collisions and other things, but maybe you're after something like JigLib. Which I guess it can be used on top of three.js.

http://www.jiglibjs.org/

from three.js.

 avatar commented on May 2, 2024

Will have a look at it, thanks!

If I have a wrapper, I'll let you know.

from three.js.

Related Issues (20)

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.