Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: jasperPT on December 04, 2014, 04:16:58 PM

Title: [SOLVED] 2d toolkit camera - mouse pick not working
Post by: jasperPT 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?
Title: Re: 2d toolkit camera - mouse pick not working
Post by: jasperPT 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"