Replies: 1 comment
-
The documentation was indeed difficult to understand at first; I found it lacking in several areas as well. But to answer your question, yes - you can only render entities with visible "three" components in the canvas of R3F, and this makes sense because you can't render any other Object3D outside of the canvas either. Now, that doesn't mean you can't add and manipulate entities and their components outside of the canvas using the other syntax such as One approach I've used to render objects is through queries and use of the
And within the canvas you have a component called
And then from there, your
One thing that was unclear in the documentation was the component named "three" - what the heck was that supposed to be in the entity definition of the world? Turns out it's just an |
Beta Was this translation helpful? Give feedback.
-
I have no idea how to use the
miniplex-react
package properly, because the documentation is not clear. It shows examples usingreact-three-fiber
elements, but not whether or not this then needs to be rendered within a canvas (it does). I thought that I could render my entities anywhere I wanted to, but then use the<Entities>
component to actually render them within the<Canvas>
, but that doesn't appear to be the case. I'm not sure how to improve the documentation, because I don't understand how the library even functions based on the current documentation, but I'd sure love to use this library if someone could help it make sense.Beta Was this translation helpful? Give feedback.
All reactions