Search Unity

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:
    450
    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.