Hi Jon,
If your light is in the model at (0,0,0) it is normal, because in the graph,
the position is always relative (depends on the parent node) (if you let it
by default).
try something like :
-ROOT
---lightsource
---tranform
--geode
In this case light source will be in relative
Thanks Vincent for your answer.
I tried to follow your suggestion, but the problem persists.
If you look at the code, I have :
|_root
---|_modelGraph
---|transform
-|lightsource
-|geode
Any suggestions ? What are my mistakes?
My goal is to have a model moving with
Hi Jon
If you add your transform to the camera, it is normal that the light follow
the camera..
If you want to keep the light at the same position, you have to attach it
near the root node, and attach the rest of the scene a lower levels than it.
Each child inherit from its parents, so if you
3 matches
Mail list logo