Search Unity

Bounds

Discussion in 'Scripting' started by marty, Jul 1, 2005.

  1. marty

    marty

    Joined:
    Apr 27, 2005
    Posts:
    1,170
    How can I get the bounding box of an object in JavaScript?

    Is there a function to return that?
     
  2. Joachim_Ante

    Joachim_Ante

    Unity Technologies

    Joined:
    Mar 16, 2005
    Posts:
    5,203
    Not at the moment. I will add support for it in the next version.
     
  3. marty

    marty

    Joined:
    Apr 27, 2005
    Posts:
    1,170
    Boy, I'm always asking for too much, aren't I? :wink:

    On a related note, will you be adding the ability to directly access/manipulate the mesh datsa for objects? If you do that (1) we could calculate bounds for ourselves and (2) we could do all sorts of other neat stuff (i.e. creating/altering meshes in realtime).

    Just an idea.
     
  4. Joachim_Ante

    Joachim_Ante

    Unity Technologies

    Joined:
    Mar 16, 2005
    Posts:
    5,203
    We are planning to add support for this. But it probably won't be the next release.
     
  5. marty

    marty

    Joined:
    Apr 27, 2005
    Posts:
    1,170
    Unity 2.0, right?

    Can you give us any sort of timetable for 2.0?

    I had to ask.
     
  6. Joachim_Ante

    Joachim_Ante

    Unity Technologies

    Joined:
    Mar 16, 2005
    Posts:
    5,203
    I am sure this will be before 2.0.
     
  7. marty

    marty

    Joined:
    Apr 27, 2005
    Posts:
    1,170
    Will mesh-level (i.e. playing with vertices in meshes) and bounds determination be in the Unity 1.0.3 release maybe?
     
  8. NicholasFrancis

    NicholasFrancis

    Joined:
    Apr 8, 2005
    Posts:
    1,587
    Don't count on it... We want to get this piece right, so it'll come 'when its done'