- Home /
RaycastHit local position
Hello!
How can i get hitmark local position of object hit by raycast? Normally to get global raycast hit position i use hit.point. But Raycasthit.point are global coordinates. I need something like this:
Comment
Answer by Berenger · Feb 10, 2012 at 09:36 PM
Use the function InverseTransformPoint of your opponent's Transform.
Your answer
Follow this Question
Related Questions
Make Raycast ignore anything that "Isn't" my player(Solved) 1 Answer
How to obtain third person accuracy 0 Answers
How to send a raycast to an object to give me ammo? 0 Answers
raycast rigidbody addforce 2 Answers
DontGoThroughThings vs Triggers 1 Answer