Author Topic: model size  (Read 2560 times)

Offline theFALCO

  • byte
  • *
  • Posts: 39
    • View Profile
model size
« 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)?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11776
    • View Profile
    • http://www.jpct.net
model size
« Reply #1 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.

Offline Mizuki Takase

  • int
  • **
  • Posts: 97
    • View Profile
model size
« Reply #2 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.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11776
    • View Profile
    • http://www.jpct.net
model size
« Reply #3 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: