Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Bug #543: problem in the actor.update()
Product:
TV3D SDK 6.5
Language:
C#
Current State:
New
Resolution:
Unconfirmed
Created On:
January 6th, 2006
Last Modified:
January 6th, 2006
Reported By:
portapez
this.Ator.Enable(true);
this.Ator.SetPosition(vPosicao_.x, vPosicao_.y, vPosicao_.z);
this.Ator.Update(); // the prb is here, if i dont do this line, the boundingbox that is returned is local!
this.Ator.SetLightingMode(CONST_TV_LIGHTINGMODE.TV_LIGHTING_MANAGED);
this.Ator.SetMaterial(Editor.Cena.RecuperarMaterialMobilia(eModoElemento));
this.Ator.Update(); // this is the original update
TV_3DVECTOR vMin = new TV_3DVECTOR();
TV_3DVECTOR vMax = new TV_3DVECTOR();
this.Ator.GetBoundingBox(ref vMin, ref vMax, false);
whats strange is this, if i DONT do the first .update(), the returned bouldingbox is local! :(
as if the world origin point is in the actor position and i dont want that...

Comments:

No comments available.