playMaker

Author Topic: [SOLVED] 2d toolkit camera - mouse pick not working  (Read 1666 times)

jasperPT

  • Full Member
  • ***
  • Posts: 115
  • I am a VFX Animator teaching myself to make games
[SOLVED] 2d toolkit camera - mouse pick not working
« on: December 04, 2014, 04:16:58 PM »
Hi,

I am having trouble getting 2d toolkits camera to work with playmaker screen/mouse pick.

It is just not picking objects.
When I use a regular unity camera everything works fine (iv got colliders and rigid bodies on the objects) but as soon as i use a 2DTK camera it just stops recognising the objects.

It feels as if there is a setting somewhere in unity that defines what the main camera is that rays are cast from or something, and that is not being switched over to the 2DTK camera?
« Last Edit: December 04, 2014, 04:22:25 PM by jasperPT »

jasperPT

  • Full Member
  • ***
  • Posts: 115
  • I am a VFX Animator teaching myself to make games
Re: 2d toolkit camera - mouse pick not working
« Reply #1 on: December 04, 2014, 04:22:08 PM »
Never Mind, just figured it out.

Needed to switch the tag of the 2d2K camera to "Main Camera"