playMaker

Author Topic: How to return the scene point from a Render Texture and store it to Vector 3?  (Read 1285 times)

Bipolar

  • Junior Playmaker
  • **
  • Posts: 68
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.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Hi.

Maybe this tutorial can help you :


Bipolar

  • Junior Playmaker
  • **
  • Posts: 68
Thanks. Now I'm going to try it!