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.

Code Snippets / [DBP] Place Object at Center of Camera View

Author
Message
Erk
16
Years of Service
User Offline
Joined: 26th Feb 2008
Location:
Posted: 27th May 2009 05:56
Sorry for the a**-backwards way I do this. I tried using more trig and just "position object" and it wouldn't work after many head desks and broken keyboards.



This will place the object halfway into the ground.
Add "Object Size Y(IDNumber) / 2" to the GroundHeight in Position Object to have it sit on ground.

I hope this comes in handy for people!
Feedback/Optimization is welcome.

Login to post a reply

Server time is: 2024-05-18 17:27:41
Your offset time is: 2024-05-18 17:27:41