Wiki

Case Status
Log In

Wiki

 
Home ยป Action Reference»Physics 2d Actions»Get Ray Cast Hit 2d Info
Index
Navigation
Community Wiki

Get Ray Cast Hit 2d Info

Gets info on the last 2d Raycast or LineCast and store in variables.

Game Object Hit
Get the GameObject hit by the last Raycast and store it in a variable.
Point
Get the world position of the ray hit point and store it in a variable.
Normal
Get the normal at the hit point and store it in a variable.
Distance
Get the distance along the ray to the hit point and store it in a variable.
Every Frame
Repeat every frame.

 

Tags:

Last modified on 3/14/2016 8:29 AM by User.

  • RSS Feed