Hi, first of all introduction;

I'm a graphic designer/coder based in Sheffield and I'm really
enjoying getting into Away3d.

enough about me, more about my problems ;)

I'm creating a game where the player travels through a continuous
randomly created tunnel. To do this I'm creating new faces and then
using the add face command to create new sections to the tunnel. the
problem is that this is creating loads of new face objects that I
can't seem to remove from memory properly, thus I'm creating a memory
leak.

the demo is here;
http://www.10thplanet-clients.com/bin-release/Hacker.html

and the code is here; http://www.10thplanet-clients.com/bin-release/srcview/

(the offending code is at hack.Tunnel)

I've tried just about everything I can think of and find online with
no luck.

If anyone can point me in the right direction I'd be eternally
grateful.

Cheers

Martin

Reply via email to