16-07-2020, 07:12 AM
(This post was last modified: 16-07-2020, 07:14 AM by josemendez.)
(15-07-2020, 07:13 PM)anulagarwal Wrote: https://drive.google.com/file/d/1BRLTj6_...sp=sharing
Please check this small video out
Hi,
This is called tunneling. It is a very common issue in all game engines, since time is represented as a discrete quantity in computers. If you're moving the wall by directly setting its transform position every frame, you're basically teleporting it from frame to frame. The physics engine will report the wall having zero velocity. In some frames, the wall will be teleported to a place where particles are completely inside of it, so they get projected outside of the wall quickly and gain momentum.
We have a video on this issue as it is a common source of confusion for beginners. We explain what it is and how to alleviate it in certain cases such as yours:
https://www.youtube.com/watch?v=ms0Z35GY6pk
There's also lots of material out there on what is tunneling, why it happens, and how to prevent/work around it.