01-03-2023, 08:09 AM
(28-02-2023, 11:42 AM)josemendez Wrote: Hi Harish,Hi josemendez,
You can't move a rigidbody by directly setting its transform position, as this will cause tunneling, specially when colliding against small/thin objects such as fluid particles.
Make sure your colliders have rigidbodies, and are being moved either via setting their velocity, using forces, or using rigidbody.MovePosition().
kind regards,
I tried with the rigidbody.MovePosition() with grababble script but it is not working as expected. Kindly update me on this.
Thanks,
Harish