- Home /
Question by
rodrigopereiramelo · Jul 20, 2020 at 11:26 PM ·
movementrigidbody2dgravityaddforcemove
Can someone help me with this Rigidbody2D bug?
https://drive.google.com/file/d/1G31X5uzje6FMcoIzb9jTlzPLsdguHIO-/view
Can someone help me with this bug? everytime i touch the screen the player flap its wings and move, but sometimes it does not move, firstly i thought it was a touch problem, but since the wings flap, it is not,now i think that the rigidbod2D is not respondind sometimes, i've tried to change all its cofigurations but did not succeed, any thoughts?
Comment
Answer by rodrigopereiramelo · Jul 21, 2020 at 01:09 AM
If someone in the future had the same problem, you have to change the sleep properties in the Phyisic2D, i put Time to Sleep and Linear sleep tolerance at the max, and it works fine.