FixedUpdate() or Update() for setting velocities
I'm running a simulation where I set the target angular velocities of configurable joints to a new value every fixed update. My understanding is that FixedUpdate should be used for physics related stuff, but I'm not sure whether just setting variables in joints or rigidbodies (like target angular velocity) has to be done in FixedUpdate as well, or in Update. Can someone enlighten me on this subject?
Your answer
Follow this Question
Related Questions
Optimizations: Should I use Update or FixedUpdate? Could you help me optimize rotations? 1 Answer
Physics after build feel different vs In-Editor (Time.deltaTime) 1 Answer
Make FixedUpdate camera be static like in Update? 0 Answers
Problem with DontGoThroughThings script 0 Answers
Programmatically control Unity Game loop to sync with external hardware/software 1 Answer