Skip to content
Discussion options

You must be logged in to vote

As noted in "control-onoff" example in

* This API is a work in progress and is not yet fully implemented.
this will be the new API in the future, but it is still work in progress. So right now this approach is not ready for production usage, but hopefully will be till we officially release 0.16 or 0.17

So the current "full featured" way to create a controller is to do it like the Controler example / https://github.com/matter-js/matter.js/blob/main/packages/examples/src/controller/ControllerNode.ts whicl bases on the "legacy" API approach. An "endpoint.stateOf" method exists there too in t…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by sambs
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants