Need Help

Blitz3D Forums/Blitz3D Programming/Need Help

seferey(Posted 2005) [#1]
I'm sorry that was my old code

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

thanks :)


Ross C(Posted 2005) [#2]
That's correct, yeah, but your creating a pivot every loop. Your causing a massive memory leak there. Create everything outside the main loop.


big10p(Posted 2005) [#3]
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.