Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: white on November 30, 2011, 08:36:11 AM
-
What is the simplest way to pick the position on an object ?
I have a lot of objets within the scene, and most of them have colliders. I'm rying to get the "click position" for my ground element, but the mouse pick operation keeps getting the position on the other objects -
Thank you !
-
Use Layer Mask to filter the layers that you pick against. E.g., create a Ground Layer and put pickable ground objects in that layer (using the Unity inspector). Then use that layer in your picking actions.
The Layer Mask GUI in Playmaker is an array, so enter the number of layers you want to use then select them.
-
Great reply, thank you very much.