Hey, guys!
I am learning about the Maya api, but now I'm stuck. My problem is, how can I use the emit and draw function in order to emit particles. Can somebody guide me please?
void emit(const MVectorArray &inPosAry, const MVectorArray &inVelAry,
const MIntArray &countAry, double dt, double speed,
double inheritFactor, MVector dirV,
MVectorArray &outPos, MVectorArray &outVel, MDoubleArray &outTime);
virtual void draw(M3dView & view, const MDagPath & path, M3dView::DisplayStyle style, M3dView::DisplayStatus);
Your help is highly appreciated.