Wintermute Engine Forum

Wintermute Engine => Technical forum => Topic started by: Dan-D on May 15, 2008, 06:41:46 PM

Title: 3d character placement
Post by: Dan-D on May 15, 2008, 06:41:46 PM
Is it possible to place character so that only half of it visible? Like on this screenshot for example?
(http://www.2404.org/downloads/Next%20Life/11952500022.jpg)
Title: Re: 3d character placement
Post by: Mnemonic on May 15, 2008, 07:41:54 PM
It's a matter of setting up the camera, isn't it?
Title: Re: 3d character placement
Post by: Dan-D on May 15, 2008, 07:47:56 PM
Yes but how to get x,y coordinates that beyond the screen?
Title: Re: 3d character placement
Post by: Mnemonic on May 15, 2008, 09:01:34 PM
You can use any coordinates you want, you're not limited to the visible viewport. If you need to query the coordinates interactively, notice that SceneEdit allows you to leave the viewport with your mouse pointer, and also move actors outside of it.
Title: Re: 3d character placement
Post by: Dan-D on May 15, 2008, 09:37:59 PM
Ok thanks!
Title: Re: 3d character placement
Post by: metamorphium on May 15, 2008, 10:07:50 PM
I use a simple trick for that. Have 2 cameras in your scene one with the off-screen view and the other for the normal view. Then position the character to the right spot in the lesser view. Use ctrl+c to copy actor placement. Switch to the other camera, save the scene and use the propper coordinates from clipboard.
Title: Re: 3d character placement
Post by: Dan-D on May 15, 2008, 10:53:24 PM
Very nice method, I'll remember that! Thanks!