Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: agito1987 on September 11, 2017, 07:45:29 AM
-
Me again with a nother question. I asked on the unity forum but get no answers.
I am making something like a shmup.
I want to use a close up of the player as the UI. You can think of it as a mix of dead space and the Galak-Z corner animation of the pilot.
Right now I use a second camera and place the player in the corner of the camera so it is shown in the corner of the screen where I want it. However by doing it this way I don’t really get the viewing angel I want.
What I want to achieve:
1:Use the second camera and place the output image where I want it to show up.
2: show the player like viewed through a hole. (Only a part is visible, edges get cut off.). I hope the attached image makes clear what I want to achieve.
Thanks
Chris
-
I half remember one of the official Unity tutorials does something like this. Have a look on their YouTube page. Maybe around the 4.2 or 5 update?
-
YES!!
You were right there is a tutorial on the official unity channel that helps me create my effect. (Creating a minimap system tutorial)
Here they show how you can send the render information from a camera to a UI sprite.
This gives the possibility to position the output wherever you want. And also to mask edges that you don’t want to display get cut off.
Thank you! This has helped me a lot. I am away for a couple of days so I will only be able to test this out when I am back.
I will post an update once I worked this method into my project!
-
Hi,
Can you share the link, my others will stumble on this post that might need it :)
-
Ah yes of cource XD
Here is the link for the minimap system videos:
-
YES!!
You were right there is a tutorial on the official unity channel that helps me create my effect. (Creating a minimap system tutorial)
Here they show how you can send the render information from a camera to a UI sprite.
This gives the possibility to position the output wherever you want. And also to mask edges that you don’t want to display get cut off.
Thank you! This has helped me a lot. I am away for a couple of days so I will only be able to test this out when I am back.
I will post an update once I worked this method into my project!
Ahh cool, I wasn't sure if I was misremembering it, glad you found it 8)
-
thx for sharing