Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Bipolar on September 29, 2018, 06:54:00 PM

Title: How to return the scene point from a Render Texture and store it to Vector 3?
Post by: Bipolar on September 29, 2018, 06:54:00 PM
Hi.

I write because I used a render texture to show what the Topdown camera is seeing.

Now I need to select a gameobject placed in the scene within this render texture.

So the raycast which hit a point of the rendere texture, should be emited by the top down camera and return the obj I clicked on.

How Can I make it possible?

I tried with Custom Mouse Pick from Ecosystem, but it didn't work.
Title: Re: How to return the scene point from a Render Texture and store it to Vector 3?
Post by: djaydino on October 01, 2018, 04:45:44 AM
Hi.

Maybe this tutorial can help you :

Title: Re: How to return the scene point from a Render Texture and store it to Vector 3?
Post by: Bipolar on October 01, 2018, 09:16:05 AM
Thanks. Now I'm going to try it!