- Home /
Unity2D Collision is bugged
Hello. I can not explain exactly what I mean by collisions are bugged, so I recorded a video and I hope someone can help me. I've been struggling with this for 2 days and it's driving me crazy. I see games on Google Play that collisions area amazing, objects bounce of it perfectly on high speeds, but here in my game everything it's glitched even in slow movement speed. Please help me, I can not solve this :(
What? What's the problem? I didn't see anything wrong in your video.
For the slow moving objects, increase the gravity scale/decrease the linear drag
For the "glitchy" collisions go to: Edit/Project Settings/Time. Change the fixed timestep to a lower number. This increases the number of physics calculations that can make more "realistic" looking physics but may affect the game's performance.
For the code you are using to control the ball that follows the mouse, try to place it in FixedUpdate() ins$$anonymous$$d of Update()
Your answer
Follow this Question
Related Questions
Why is there no Rigidbody2D.SweepTest() ? 1 Answer
How do I get velocity from a collision? 1 Answer
2D Colliders do not register collision 1 Answer
how the ball bounces of equal in angles? 1 Answer
Sphere Goes Crazy 3 Answers