Hello Guest

Author Topic: Using Mouse Pick with playmaker  (Read 3949 times)

flexation

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 9
    • View Profile
Using Mouse Pick with playmaker
« on: August 22, 2013, 07:05:52 pm »
For some reason with mouse pick fsm, I am not able to return any points from tilemap...  Am I doing something wrong or is this just not possible?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Using Mouse Pick with playmaker
« Reply #1 on: August 22, 2013, 07:10:33 pm »
Its possible, but you probably shouldn't be doing it. In order for mouse pick to work on a tilemap it needs caps - you can enable this by setting collider caps in the sprite collection, but keep in mind its an expensive thing to be doing. With a little bit of script you can work out exactly what tile you're over.