Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Is Raycasting for a BoxCollider bound to Fixed Timestep

Discussion in 'Physics' started by FlashMuller, Feb 25, 2015.

  1. FlashMuller

    FlashMuller

    Joined:
    Sep 25, 2013
    Posts:
    451
    Hello,
    i have got the following setup: I use Physics for Collision Detection, but not in a "physics" way. I just want to know wether two objects intersect roughly. Therefor I reduced the Fixed Timestep to 0.5s, which works fine for what I'm trying to achieve. But I was wondering one thing: I want to use some 3d UI-Elements, so basically a GameObject with MeshRenderer, BoxCollider and RigidBody (Kinematic) and Raycast the user input onto that element to perform some action. Does the Raycast / BoxCollider Position also rely on the Fixed Timestep and therefor generate a 0.5s delay after User-Input?
    Thank you.