Skip to content

A few questions about scene->mRootNode. #4019

Answered by kimkulling
Lucipetus asked this question in Q&A
Discussion options

You must be logged in to vote

The root node of the scene is used to define the transformation in the world-space. When its located at (0|0|0) the transformation of the root-node will be an Identity-Matrix.
So for your import code when you want to use the model as an instance you can ignore this transformation and place the model stored in the scene by yourself.

Hope that helps!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@emeiri
Comment options

Answer selected by kimkulling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants