spacegaier
15-10-2008 20:13:08
Hello,
I want to achieve the following thing:
I do raycasting with NxOgre and therefore get the hit actor as a result. But now I want to change the color/material of this entity at runtime.
But the actor does not save the scenenode or something else related to Oge or the render system in general. Is this then one of these cases I have to implement my own actor class?
And what's about the NxOgreOgreNodeRenderable? When is this class (and the other NxOgreOgre* classes) intended to be used?
Has anyone of you ever used them and can show some code as an entry point?
Best regards - sapcegaier
I want to achieve the following thing:
I do raycasting with NxOgre and therefore get the hit actor as a result. But now I want to change the color/material of this entity at runtime.
But the actor does not save the scenenode or something else related to Oge or the render system in general. Is this then one of these cases I have to implement my own actor class?
And what's about the NxOgreOgreNodeRenderable? When is this class (and the other NxOgreOgre* classes) intended to be used?
Has anyone of you ever used them and can show some code as an entry point?
Best regards - sapcegaier