Size of a nodepath from a loader


I am loading an egg into a nodepath. Next I wish to make appear something front of it. Is it possible to have the radius of the model loaded?

You can use getTightBounds to retrieve the tight bounding box of the object. Alternatively, getBounds will return a bounding volume (most likely a BoundingSphere) where you can extract the radius from.

OK Thanks I will try that!