Article Preview
Buy Now
COLUMN
Touchy-Feely 3D
Using FindObject and FindPoint
Issue: 1.5 (April/May 2003)
Author: Joe Nastasi
Author Bio: Joe Nastasi has been a programmer since 1977 and a full-time REALbasic consultant since version 1.0. He is also the developer of a spacecraft simulator, A-OK! The Wings of Mercury, which was recently awarded a Cubie for Educational software.
Article Description: No description available.
Article Length (in bytes): 14,155
Starting Page Number: 38
Article Number: 1520
Resource File(s):
1520.zip Updated: 2013-03-11 19:07:56
Related Link(s): None
Excerpt of article text...
Last month we discussed techniques for detecting and reacting to collisions between 3D Objects. So much for object-to-object interaction; this month I'll show you how to use the mouse to select and move 3D Objects.
Let's say we want to move the mouse cursor over an RB3DSpace control and display the equivalent location in the 3D scene. Additionally, when the mouse is over an Object3D, we want the name of the Object3D to be displayed near the object. Finally, dragging the Object3D will move it within the scene.
FindPoint
...End of Excerpt. Please purchase the magazine to read the full article.