realbasic-games
[Top] [All Lists]

Re: Bounds3D

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: Bounds3D
From: Joseph Nastasi <joe at pyramiddesign dot us>
Date: Fri, 19 Aug 2005 12:32:57 -0400
Delivered-to: realbasic-games at lists dot realsoftware dot com
References: <0a64f2569014c15c578d5116b4d8e13b at pyramiddesign dot us> <a0620070dbf265db72822 at [10 dot 0 dot 1 dot 2]> <4fd41a4f80c528debca1c2b13e9b9259 at pyramiddesign dot us> <a06200701bf2677682da1 at [10 dot 0 dot 1 dot 2]> <fb69115f969d6542b6180006c9ca83c8 at pyramiddesign dot us> <c94955de4320b65eef993ae58b64ed0d at pyramiddesign dot us> <a0620071bbf2b9f2d7ffb at [10 dot 0 dot 1 dot 2]> <bb42200dd8dab91587840e89a50228a7 at pyramiddesign dot us> <a06200721bf2bacd1b23a at [10 dot 0 dot 1 dot 2]>

On Aug 19, 2005, at 11:41 AM, Joseph J. Strout wrote:

Really, I should be able to set a radius that is smaller than the actual geometry and have Intersect respect and use that.
Right?

Yes, and so you can. Just don't let it be Updated (which does mean, you'll have to store this somewhere other than the Object3D.Bounds property).

Okay, so then I would have a separate bounds3D and use the Intersect test with that Bounds3D and not the one linked with the Object3D.

So, while I haven't looked at your report yet, I'm starting to think perhaps there is no bug here. Is it that you're trying to use a bounds much smaller than the actual geometry, but the auto-updating is expanding this to fit the actual geometry, which is then causing the intersection to report true?

Yes, I think that is exactly what's happening. I totally forgot the connection between Object3D and it's Bound property would force the update and thereby change the radius. I'll double-check and kill the report.

Thanks!
Joe
--
Joseph Nastasi
Pyramid Design - a software development firm
http://www.pyramiddesign.us
Voice 609 601-0814      Fax 609 601-0815
Products:
A-OK! Spacecraft Simulation System - http://aok.pyramiddesign.us
A-OK! The Wings of Mercury
FTP Suite for REALbasic - http://ftpsuite.pyramiddesign.us
Proud Sponsors of REALbasic Olympics 2005




_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>