- Home /
Question by
RLin · Mar 20, 2016 at 08:40 PM ·
rigidbodysleeprigidbody collision
Change rigidbody transform without waking rigidbody?
I am making a car racing game for mobile. Sometimes, the traffic is relatively dense, so I make cars further away call rigidbody.sleep() and then manually move their transforms. Unfortunately, moving the transforms wakes the rigidbody, undoing any performance gain. I can't make the rigidbodies kinematic because this will cause issues with collisions. How can I change a rigidbody's transform without waking it up?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612072645im_/https://answers.unity.com/themes/thub/images/avi.jpg)