realbasic-games
[Top] [All Lists]

Re: Quesa/RB3D Question

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: Quesa/RB3D Question
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Sun, 25 Apr 2004 13:40:33 -0500
Delivered-to: realbasic-games at lists dot realsoftware dot com
List-help: <mailto:realbasic-games-request@lists.realsoftware.com?subject=help>
List-id: REALbasic Games <realbasic-games.lists.realsoftware.com>
List-post: <mailto:realbasic-games@lists.realsoftware.com>
References: <6AD11B5A-95F6-11D8-87A7-000393B48432 at optonline dot net>
At 9:50 AM -0400 4/24/04, Daniel Lurie wrote:

Let's say for insanity's sake, I have a cube on a plane that is going to flip end over end as it approaches the viewer. Is there a declare I can use to move the origin of that object so it always pivots around the frontmost edge of the cube, if that makes sense?

No declares are necessary. You're writing the code to both translate and rotate the cube; just write it to do what you describe. It's only a bit of math...

Cheers,
- Joe

--
,------------------------------------------------------------------.
|    Joseph J. Strout           REAL Software, Inc.                |
|    joe at realsoftware dot com       http://www.realsoftware.com        |
`------------------------------------------------------------------'
_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

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

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