|
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.
(comments are locked)
|
|
I was able to achieve the effect I wanted by using a hinge joint and increasing the motor force and target velocity.
(comments are locked)
|
|
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
(comments are locked)
|
|
One function...
-Hope I helped, Gibson 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)
|
