Hello guys i need help with this simple block game im developing. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Hello guys i need help with this simple block game im developing.

The block glitches when touching ground, apparently because its Y pos + delta Y becomes greater than ground when falling, so when adjusting it on to the surface it appears to glitch.🤔 I dont find this to be a good way of developing game physics, plz provide me with some better methods. Thank you🙂. https://code.sololearn.com/WBB4APSac5gD/?ref=app

15th Nov 2021, 6:13 AM
ACE
ACE - avatar
1 Answer
0
Well, as for me, this glitch is ok, just because in normal physics the ball, or block have to become compressed for a while. Anyway, sorry if this answer is not that you expected. I am not the HTML5 professional and I can't say what is wrong
16th Nov 2021, 8:45 AM
SelfyTheMentalist
SelfyTheMentalist - avatar