playMaker

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

Bipolar

  • Playmaker Newbie
  • *
  • Posts: 46
    • View Profile
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: 4106
    • View Profile
    • jinxtergames
Hi.

Maybe this tutorial can help you :


Bipolar

  • Playmaker Newbie
  • *
  • Posts: 46
    • View Profile
Thanks. Now I'm going to try it!