Code Monkey home page Code Monkey logo

Comments (10)

liabru avatar liabru commented on May 3, 2024

Just pushed an update to documentation of core modules 2317f02

Also pushed the new documentation design that is much clearer and more detailed.

from matter-js.

spaceribs avatar spaceribs commented on May 3, 2024

Homepage links incorrectly to Body: http://brm.io/matter-js-docs/classes/Bodys.html

screen shot 2014-05-22 at 1 36 47 pm

from matter-js.

liabru avatar liabru commented on May 3, 2024

Fixed, thanks @spaceribs

from matter-js.

liabru avatar liabru commented on May 3, 2024

Todo: the body param is missing from Body.setStatic docs

from matter-js.

liabru avatar liabru commented on May 3, 2024

I've just updated the docs for the master build:
http://brm.io/matter-js-docs-master/

from matter-js.

joetsuihk avatar joetsuihk commented on May 3, 2024

I would kindly request demo/doc for manipulating body after added to world. Imagine case like using keyboard to move a body/car.

from matter-js.

liabru avatar liabru commented on May 3, 2024

@joetsuihk

If you clone the repo and use the edge build, there's two new manipulation demos that may be helpful:
https://github.com/liabru/matter-js/blob/master/demo/js/Demo.js#L218-L317

from matter-js.

joetsuihk avatar joetsuihk commented on May 3, 2024

Thanks a lot @liabru ! What I ultimately want to do is click on a body and manipulate that body, can you share some code to look for the body being clicked? I tried Query.ray but the collisions returned cannot apply Body.translate

from matter-js.

liabru avatar liabru commented on May 3, 2024

@joetsuihk take a look at how it's done in MouseConstraint

from matter-js.

liabru avatar liabru commented on May 3, 2024

An updated version of the docs is now at http://brm.io/matter-js/docs/

from matter-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.