Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Heratitan · Sep 29, 2010 at 11:42 PM · rigidbodyvelocityspeedpinball

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.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

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.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
2

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

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
1

Answer by AVividLight · Sep 30, 2010 at 12:15 AM

One function...

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

-Hope I helped, Gibson

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image AVividLight · Sep 30, 2010 at 12:16 AM 0
Share

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

avatar image · Sep 30, 2010 at 12:36 AM 1
Share

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

avatar image AVividLight · Sep 30, 2010 at 09:48 PM 0
Share

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

Your answer

Hint: You can notify a user about this post by typing @username

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

Answers Answers and Comments

1 Person is following this question.

avatar image

Related Questions

Rigidbody speed / Velocity issue 0 Answers

Velocity powered rigidbody on a moving platform without parenting. 3 Answers

How Do I Increase the ForwardForce of the player over time? using rigid body 2 Answers

How to calculate the speed at which a rigidbody2d is actually moving ? 1 Answer

How to get collision force, not relative velocity? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges