Wednesday, September 28, 2022
HomeGame Developmentunity - Implementing a pinball flipper with out tunnelling

unity – Implementing a pinball flipper with out tunnelling


I am making an attempt 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 circumstances the place the ball passes by way of 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 about 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 undertaking settings however these haven’t fastened the problem.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments