Tasharen Entertainment Forum
Support => Other Packages => Topic started by: myleslambert on June 08, 2014, 07:10:55 AM
-
Hi!
We have a procedural generated level (new geometry is added as the player moves throughout).
As of right now the geometry does not appear to be effecting the fow at all! Do we need to make a specific method call to get it to work?
Cheers,
Myles
-
The FOW creates a heightmap using existing geometry when it starts up. You'll need to let the FOW know that you've changed the geometry so that it re-evaluates the heightmap.
-
Hey Aren,
Thanks for the reply - I did have a look through the source - the only method I could see related to the heightmap was CreateGrid() but this seems to not be all that needs to be called? Is there any other specific order of methods?
- Myles
-
CreateGrid() is it. That's where all raycasts are performed and the height map gets generated. If you want the effect to be immediate, call the UpdateBuffer() function as well.