realbasic-games
[Top] [All Lists]

Re: Bug? LineSegmentIntersection

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: Bug? LineSegmentIntersection
From: Jeff Quan <jquan at mindspring dot com>
Date: Thu, 22 Sep 2005 12:05:39 -0700
Delivered-to: realbasic-games at lists dot realsoftware dot com
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=mindspring.com; b=PC5sTleqKMK7ZO/lqEsECaRSbw+3b8pC99rnf2wT6D537GxMUhBEGQMd6lEPFDU0; h=Received:Mime-Version:In-Reply-To:References:Content-Type:Message-Id:From:Subject:Date:To:X-Mailer:X-ELNK-Trace:X-Originating-IP;
References: <A62133C5-26E7-4F77-85C7-3CBD6D5AC3CA at miensoftware dot com> <a06200716bf573a7915d2 at [10 dot 0 dot 1 dot 4]>
At 9:15 AM -0700 9/21/05, Lo Saeteurn wrote:
I'm trying to see if a sphere object is within a line segment (formed by 2 points in word coordinates), but the results it returns are incorrect. Some objects that should have intersected returned negative (or NIL). The same holds true for LineIntersection. Am I using it correctly?

I'm coming a little late to this thread, but I too have seen the line problem under RB5.5 and 2005.

Instead of simplifying existing code, I decided to write an app from scratch in RB2005r3 to view the problem. Apologies for cutting non-2005 users out, as I wanted to use the trimesh functions to create a visual line. Here's a link to my code:
<http://www.geocities.com/jeffq_cnet/BoundsTest.zip>

You can move the line by passing your mouse over the RB3D space. Things get really wonky if you click the "Animate line" checkbox. In this case, I really hope I'm doing something wrong!

==
Jeff Quan
jquan at mindspring dot com
_______________________________________________
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>