Hi there,
To control the weather in a scenery, I'm using the following code. Like this I can control the height of the clouds received by a Cigi packet.
Now, I want to control the clouds in depth, slice, density, etc from the ObjectSky class. But I don't see how to get to this derived class to apply their methods.
Node clMiddle = engine.world.getNode(id);
if (clouds == NULL) {
log.message("getNode(clMiddle) failed\n");
}
clMiddle.setPosition(dvec3(0.0, 0.0, clBase));