You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
It's pretty weird that addVolumeLightSceneNode() returns an ISceneNode* and not an IVolumeLightSceneNode* interface.
It can save a lot of castings and probably should have been IVolumeLightSceneNode*.
P.S
Does such things should be posted in the bugs forum or here? (edit: here as in Open Discussion forum)
Last edited by MasterGod on Wed Mar 26, 2008 1:02 am, edited 1 time in total.
Yes, it should return an IVolumeLightSceneNode so you can access the attributes without pointer casting. Yes, you should probably have posted this to the bugs forum, but I'd bet one of the mods will move it for you.
Oh, I guess that just went by when I added the interface. The original implementation didn't feature an IVolumeLightSceneNode, so that's just the original return value.