- Home /
How do I raise the speed of the pinball without raising flipper speed to insane levels?
Hello, Right now I am making a pinball game and I have working flippers and pinball table. The problem I am having is that even with the flippers going at extremely quick speeds, the ball barely goes anywhere, I was wondering if anyone had any tips or ideas on how to speed up that ball.
Thanks.
Answer by Heratitan · Jun 21, 2011 at 02:02 AM
I was able to achieve the effect I wanted by using a hinge joint and increasing the motor force and target velocity.
Answer by Peter G · Sep 30, 2010 at 01:07 AM
I would try experimenting with the physics properties more. Change the mass of the flippers and the ball if you haven't already, and physic materials sound very helpful here. Add a bouncy physic material if you haven't already, and the ball will bounce without much coding, and Unity would handle all the forces for you.
Then, if you need to, you could add force when the ball collides with the flipper Rigidbody.AddForce(Direction : Vector3)
.
Answer by AVividLight · Sep 30, 2010 at 12:15 AM
One function...
function FixedUpdate () {
rigidbody.AddForce (Vector3.up * 10);
}
-Hope I helped, Gibson
Be sure to edit this script, its just to give you an idea...
He'd probably want to add the extra force OnCollisionEnter or OnTriggerEnter, depending on setup ... not in every FixedUpdate().
Well, yeah... but, he could call the script... I don't know, its something... :)
Your answer
![](https://koobas.hobune.stream/wayback/20220613074337im_/https://answers.unity.com/themes/thub/images/avi.jpg)