Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

3 Dimensional Chat / How do I place an object in front of camera?

Author
Message
Maverick81
22
Years of Service
User Offline
Joined: 27th Aug 2003
Location:
Posted: 7th Sep 2003 21:09
How would I place and object so it is directly in view of the camera, no matter what the camera angle is? This has been bugging me for a while and I just can't seem to figure it out.

Thanks

Maverick
CattleRustler
Retired Moderator
22
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 7th Sep 2003 21:43
just keep it always centered (the object) on the screen
screen height()/2
screen width()/2

-RUST-
spooky
23
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 8th Sep 2003 00:43
Try:



or



The programmer formerly known as sonic
Maverick81
22
Years of Service
User Offline
Joined: 27th Aug 2003
Location:
Posted: 8th Sep 2003 04:08
Thank you very much. Greatly appreciated!

Login to post a reply

Server time is: 2026-07-05 17:11:42
Your offset time is: 2026-07-05 17:11:42