I have a SimpleObject2 plugin that inherits the IParticleObjectExt class.
I have implemented the following methods:
void UpdateParticles(INode *node, TimeValue t);
Point3* GetParticlePositionByIndex(int i);
TimeValue GetParticleAgeByIndex(int i);
float GetParticleScaleByIndex(int i);
Point3* GetParticleSpeedByIndex(int i);
When I choose my SimpleObject2 as a source for a Frost object and turn on my debugger, as I step through the code I can see Frost querying my object for it’s IParticleObjectExt interface, updating its particles, querying number of particles, querying particle position and velocity…and then I get a hard max crash.
Is there some other function from the IParticleObjectExt I need to implement in my plugin? Basically, what is the list of functions Frost calls on an object to get the particle data it uses to construct a mesh.