- Home /
how to change Rigidbody "interpolate to none" through script.
Hello, I want to change Rigidbody interpolate "interpolate to none" through script when a function runs, But I don't know the syntax of it. Help
Answer by Eno-Khaon · Feb 11 at 08:03 PM
Rigidbody.interpolation is a value from the enumerator type RigidbodyInterpolation, which includes the options (None, Interpolate, Extrapolate).
Changing from any of those values to "None" would look something like:
rb.interpolation = RigidbodyInterpolation.None;
Fortunately, Unity has fairly thorough documentation available, so it's easy to find (most of) what you need with a quick search.
Your answer
Follow this Question
Related Questions
How to change Rigidbody interpolate through script. 1 Answer
Distribute terrain in zones 3 Answers
Smooth camera size interpolation 1 Answer
Undo not properly working for some Rigidbody properties 0 Answers
Multiple Cars not working 1 Answer