Update collisions

Hi Guys, I was just wondering, does it greatly matter the certain things happen in my Update routine would affect what happens in my OnCollisionEnter routine. You see i have a boolean that checks whether an object is moving or not and thats in the Update(), and in my OnCollisionEnter routine it checks this before performing actions. Are these two intangeable really because something isnt working!

Update isn’t related to the physic loop but to the application’s frame rate. It can be called more often, or less. You should do your check in FixedUpdate, or in OnCollisionEnter. You’re checking it like that isMoving = rigidbody.velocity.sqrMagnitude > 0.0; right ?