Hello,
I'm trying to create a Helper object plugin, by implementing HelperObject.
I don't know what to return in this method :
public override IObjectState Eval(int t)
Thanks
Try:
public override IObjectState Eval( int t ) { return Plugin.Instance.Global.ObjectState.Create( this ); }
Marsel Khadiyev (Software Developer, EPHERE Inc.)
Thanks !
Is there any way to define the helper displayed mesh ?
This is done in maxscript with getDisplayMesh
Thanks again
Have a look at IBaseObject.Display and HitTest. Those give you methods to draw your helper in the viewports. Not 100% how to display a predefined mesh, perhaps look in IObject for a method that does that.