This is more an Unity question, but still. I’m trying to relocate an object with Udon. I can do that just fine, but when I move it to it’s new location, if it had any kinetic force on it (it was falling, rolling on the ground, flying…) it will keep it’s momentum after the relocation. I want it to appear at it’s target destination without the previous kinetic force. What block should I use for that?
With the udon code on the object that you want to stop moving, you can do it like this. specifically the rigidbody set angular velocity to zero.
Ah, “Set rotation” and “set angular velocity” are also required? That’s what I’ve been missing. Thanks a lot, I’m going to test it as soon as I can.