Wiki

Case Status
Log In

Wiki

 
Home ยป Action Reference»Input Actions»Mouse Pick
Index
Navigation
Community Wiki

Mouse Pick

Perform a mouse pick on the scene and store the results. Use Ray Distance to set how close the camera must be to pick the object.

NOTE: This action uses the Main Camera.

Ray Distance
The picking distance.
Store Did Pick Object
Set Bool variable true if an object was picked, false if not.
Store Game Object
Store the picked game object.
Store Point
Store the point of contact.
Store Normal
Store the normal at the point of contact.
Store Distance
Store the distance to the point of contact.
Every Frame
Repeat this action every frame.

 

This action is designed to pick objects in the scene, if an object needs to know if it was picked, use the built in MOUSE events, or MousePickEvent.

Tags:

Last modified on 2/12/2013 12:06 PM by User.

  • RSS Feed