My efforts at stopping it from raining or snowing indoors is not going too well.

What I am trying to do is check the Z position of the particle vector to see if it is in a solid object. I inserted this code at the end of the rain_particle function (which is similar to the the code given in my earlier post):

code:

surface_check = content(MY_POS.Z);
if (surface_check == content_solid)
{
MY_ACTION = NULL;
}
}

When I watch the MY_POS.Z variable, however, it does not appear to change, even though it is in the middle of a loop that repeats until I hit the toggle key to stop it from snowing/raining.

This must mean that the Z position is only evaluated when the particle is created. If so, then I am stuck if there is no variable that determines the current Z position of a particle at any given time.

Any ideas?

[This message has been edited by Eldurin (edited 16 May 2001).]