Page 1 of 1

Custom particles

Posted: Tue Mar 21, 2006 2:19 pm
by RapchikProgrammer
Hi all!
I need help in creating custom particles! I know we have to make a child class of IParticleEmitter but whenever i do that in vb.net it gives an error that there is no sub new function for IParticleEmitter but the function is there when i view the type from object browser!

Posted: Wed Mar 29, 2006 2:25 pm
by Daydreamer
As far as I could tell, you don't have an implicit constructor in the base class ( method New is a constructor in VB.net), so you need to define a constructor for the new class that calls the only constructor available in the base. This is basic inheritance for you.
Hope it helps!