Tuesday, April 16, 2024
HomeSample Page

Sample Page Title


I’m attempting to create a pinball and flipper system in Unity.

Unity has documentation particularly on a spinning physique and a ball.

I’m utilizing inflexible our bodies for each the ball and flipper. I’ve set the ball to steady dynamic and the flipper to steady speculative however there are nonetheless instances the place the ball passes by the flipper:

Animation of ball sometimes falling through actuating flipper

I’m utilizing the essential sphere and field colliders. The flipper is utilizing a hinge joint with 28000 power and a script that units it to both 18000 or -18000 velocity relying on if area bar is pressed. Gravity is ready to -300 Y. The ball and desk have 0.01 dynamic and static friction. The ball is rolling down an inclined aircraft with a rotation of -8 Z. I’m utilizing Unity 2021.3.10f1.

I’ve tried altering default contact offset, default solver iterations, and default solver velocity iterations within the challenge settings however these haven’t mounted the problem.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments