Search Unity

RayCast Bug in Unity 2019.3?

Discussion in 'Physics' started by WILEz1975, Jun 4, 2020.

  1. WILEz1975

    WILEz1975

    Joined:
    Mar 23, 2013
    Posts:
    375
    This is my problem.
    A very simple Ray.

    The Y (both origin and direction) flickers and decreases constantly moving the ray lower and lower ...
    Why does it do so?

    [EDIT]
    Ok, solved ... The problem is that the palyer rigidbody.
    The Unity Character Controller with a Rigidbody on same gameObject don't get along.
     
    Last edited: Jun 4, 2020