Need Help

Blitz3D Forums/Blitz3D Programming/Need Help

I'm sorry that was my old code

my new code I got rid of the pivot and fixed up the clearworld etc

thanks :)

That's correct, yeah, but your creating a pivot every loop. Your causing a massive memory leak there. Create everything outside the main loop.

You've also misunderstood the ClearWorld Parameters:

ClearWorld [entities][,brushes][,textures]
Parameters
entities (optional) - True to clear all entities, False not to. Defaults to true.
brushes (optional) - True to clear all brushes, False not to. Defaults to true.
textures (optional) - True to clear all textures, False not to. Defaults to true.