www.jpct.net

jPCT - a 3d engine for Java => Support => Topic started by: theFALCO on December 17, 2006, 05:03:09 pm

Title: model size
Post by: theFALCO on December 17, 2006, 05:03:09 pm
How do I get the size of a model (to set the right radious for ellipsoid collision)?
Title: model size
Post by: EgonOlsen on December 17, 2006, 08:08:31 pm
By "wild guessing" or maybe by using the bounding box dimension. You may get the bounding box from the Mesh.
Title: model size
Post by: Mizuki Takase on December 20, 2006, 03:30:40 pm
It sounds funny, but whenever there is another update to JPCT, can we have a Primitives.createEllipsoid(who knows what is needed)? I would think that would make wild guessing a bit easier if we can visualize the ellipsoid.
Title: model size
Post by: EgonOlsen on December 20, 2006, 08:19:55 pm
Sounds like a good idea. I'll see, what i can do...if i don't forget. If i do, feel free to remember me... :wink: