Custom particles

Irrlicht.Net is no longer developed or supported, Irrlicht.Net Cross Platform is a much more complete wrapper. Please ask your C# related questions on their forums first.
Locked
RapchikProgrammer
Posts: 279
Joined: Fri Dec 24, 2004 6:37 pm

Custom particles

Post 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!
Daydreamer
Posts: 1
Joined: Wed Mar 29, 2006 2:20 pm
Location: In your dreams and nightmares

Post 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!
Locked