Difference between Mesh and Object 3D?

Hey! I am pretty new to Three.js… I don’t understand the difference between Mesh and Object 3D. Can someone point out the difference? Thanks a Lot! In advance.

1 Like

Every object in THREEjs is extending from Object3D. For example the Scene is also extending Object3D.
Basicly a Object3D can be transformed (positioned, rotated, scaled) and is mostly used as a container (as the Scene is doing too. The scene is only a container sitting at (0, 0, 0) holding all other objects added to it). Object3D is providing lots of other useful functions as well.
Mesh on the other hand is also extending Object3D to have the ability to be transformed etc, but is also able to have a geometry and materials, which represents the actual model.

3 Likes

Thanks for the explanation!

1 Like