realbasic-games
[Top] [All Lists]

Bounds3D

To: REALbasic Games <REALbasic-Games at lists dot realsoftware dot com>
Subject: Bounds3D
From: Joseph Nastasi <joe at pyramiddesign dot us>
Date: Mon, 15 Aug 2005 07:30:27 -0400
Cc:
Delivered-to: REALbasic-Games at lists dot realsoftware dot com
If I do the following:
        Self.Planet.Bounds = New Bounds3D(New Vector3D,6078137)

The value 6,078,137 should be the tripping point for this:
If Self.Model.Bounds.Intersects(Simulation.NaturalSystem.Planet.Bounds) Then

Correct?

What happens is the if statement is satisfied when Self.Model.Position.Y is at 6,391,141.

Is this a bug or is there some magic I forgot to apply?

Also, there is a bug in 2005 (any version) where only the radius and center are displayed in the debugger, regardless of Bounds Type.
http://www.realsoftware.com/feedback/viewreport.php?reportid=vxznzqii

Finally, Group3D does not calculate Bounds3D even though it is a subclass of Object3D. It would make some types of bounds checking a lot simpler if it was built in.
http://www.realsoftware.com/feedback/viewreport.php?reportid=wlknfiss

Cheers,
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>