Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

(no subject) (Real Studio games Mailinglist archive)

Back to the thread list
Previous thread: Re: realbasic-games Digest, Vol 10, Issue 10
Next thread: Re: realbasic-games Digest, Vol 10, Issue 9


[ANN] Preview of RBD 2.4   -   Marc Zeedar
  (no subject)   -   Greg Gillis

(no subject)
Date: 10.01.05 21:36 (Mon, 10 Jan 2005 15:36:26 -0500)
From: Greg Gillis
> Yes, all you have to do is set the orientation equal to the camera's
> orientation, and use Object3D.LocalToWorldTransform to find the
> position.

Thanks to everyone for the replies! It seems
Object3D.ObjectToWorldTransform was the part of the equation I was
missing.

I now have one more question though. If I display 2D overlays using the
method described above, I can position them relative to the camera but
not the RB3DSpace itself. This become a bit of an issue if the aspect
ratio of the game surface needs to be able to change, such as if the
game is played on a 4:3 monitor as opposed to the
somewhat-more-common-nowadays 15:9 Apple displays.

Is there any reliable method I could use to, say, put a 2D status
display box a certain distance from the right edge of the 3D surface
regardless of the surface's shape?

Greg Gillis

Visit The Armadillo Games Home Page:
http://members.rogers.com/armadillogames
... featuring "Radiant Weirdness Zone", the "Fawn" RPG series, and
numerous armadillii...

Visit FORS YARD, A Chronological Retrospective of the Sega Genesis:
http://homepage.mac.com/greggillis

_______________________________________________
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>