Search Unity

How to stop an Object Movement using Raycast?

Discussion in 'Navigation' started by izzanfuad, Mar 18, 2022.

  1. izzanfuad

    izzanfuad

    Joined:
    Dec 7, 2021
    Posts:
    32
    Hi I wanted to know on how stop my object into going through water using Raycast? I managed to stop it, but I can't seem to manage to make it move again without cheating my way through.