x


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.

more ▼

asked Sep 29 '10 at 11:42 PM

Heratitan gravatar image

Heratitan
314 20 22 29

(comments are locked)
10|3000 characters needed characters left

3 answers: sort voted first

I was able to achieve the effect I wanted by using a hinge joint and increasing the motor force and target velocity.

more ▼

answered Jun 21 '11 at 02:02 AM

Heratitan gravatar image

Heratitan
314 20 22 29

(comments are locked)
10|3000 characters needed characters left

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).

more ▼

answered Sep 30 '10 at 01:07 AM

Peter G gravatar image

Peter G
15k 16 44 136

(comments are locked)
10|3000 characters needed characters left

One function...

 function FixedUpdate () {
    rigidbody.AddForce (Vector3.up * 10);
}

-Hope I helped, Gibson

more ▼

answered Sep 30 '10 at 12:15 AM

AVividLight gravatar image

AVividLight
1.9k 68 99 128

Be sure to edit this script, its just to give you an idea...

Sep 30 '10 at 12:16 AM AVividLight

He'd probably want to add the extra force OnCollisionEnter or OnTriggerEnter, depending on setup ... not in every FixedUpdate().

Sep 30 '10 at 12:36 AM Marowi

Well, yeah... but, he could call the script... I don't know, its something... :)

Sep 30 '10 at 09:48 PM AVividLight
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1784
x355
x317
x12
x2

asked: Sep 29 '10 at 11:42 PM

Seen: 1773 times

Last Updated: Jun 21 '11 at 02:03 AM