ok, and say this to wladimir too.
if i delete object and create again some parameters
can be change but some cant.
for example:
///////////
gp_WedInterface->object_SelectObjectID(nesneid);
CObjEditInterface * oei=gp_WedInterface->object_GetEditInterfaceID(nesneid);
MODELINFO mi;
oei->obje_GetInfo(&mi);
mi.Ambient=10;
OBJECTTRANS ot;
VECTOR3_STC pos1;
oei->obje_GetTrans(&ot,true);
oei->obje_GetPosition((float*)&pos1,true);
oei->obje_Delete(); //delete object
if (oei->obje_AppendNewObj(pos1,&mi)) //old pos correctly get. and ambient chage
{
oei->obje_SetTrans(&ot,true); //but trans data not change!!!
}
///////////////////////
this code create object in same pos and scale but rotation is clear why?
and last 3 (BBox,Polygon,Local) flags are lost. why?
and how can i read FLARE flag in script?
and how can i change object name?
i have lots of question. if wladimir solve those, i ask another.
sorry for bad english and sorry for disturbing