Hi,
I have two nodes where i want to manually resize their bounding boxes.
Bounding box of the first node in question is too wide, so getSceneNodeFromScreenCoordinatesBB returns the node even if the player clicks beside the node.
The second node is a small animal and even that the animal is very weak, the player can die before he succeds in picking the animal node!
I want to enlarge bounding box of that node so that picking becomes easier.
Is there an easy&intuitive way to do that?
Manually resize bounding box
I got the impression that it is not possible to change boundingbox.radiant wrote:well.... u can resize the bounding box using:
irr::scene::IMesh::setBoundingBox (const core::aabbox3df);
on your Imesh object before adding your scene node and then create your scene node.
Hope it helps
But this simply works.
Thanks alot!