Notifications
Clear all

[Closed] MyRecentManipulatorGotStuck


I tried to figured out(use boundingBox) how large the object I created in the scene and accordingly to build my mesh manipulator .
But obviously , in these two pictures ,see, GetLocalBoundBox returned me curious values.
.in the first pic . I used BaseObject::GetLocalBoundBox() and in the second pic ,it is
SimpleManipulator::GetLocalBoundBox() .
GetLocalBoundBox() in SimpleManipulator class is not inherited from BaseObject class ?
if so , why i got different return value ?
are there any other way to get an value that is associated with the space of my created object .So I can create relationship between the value and the size of my mesh .

and this what i finished in MXS /

1 Reply
mpINode->GetObjectRef()->GetLocalBoundBox(t,mpINode,ve,boundingBox);

seems work ,but still did not know why?