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 ilovemypixels · Feb 11, 2013 at 02:06 PM · 2dphysicsballbounce

Simple peggle type ball physics

Hi there,

I want to make a simple game with peggle style physics. I am not sure if using the Unity built in physics system is a good idea as it seems like this would be very heavy just for doing simple deflections.

Does anyone know any good links or places to start? I made a similar game before using the greensock physics 2d plugin. This simply lets you tween based on velocity gravity and angle. So what I am looking at is pretty simple.

iTween for unity doesn't let you tween based on angle and velocity, do you know an engine that does or how to code one?

Thanks for your help

Will

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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Landern · Feb 11, 2013 at 02:58 PM

It would be simpler to use Unity's physics engine, you can fine tune your physics calls in the FixedUpdate function/method and you get a lot of functionality for free. Because it's simple to use for some thing like this(bouncy materials, etc) you should be able to setup a prototype very quickly.

Comment
Add comment · Show 2 · 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 ilovemypixels · Feb 11, 2013 at 03:45 PM 0
Share

Thanks for that ... I'm just worried about speed and performance really. All I need is basic physics and collision detection based on distance. Do you know anything about using unity physics when working on iOS?

avatar image Leuthil · Apr 11, 2014 at 02:43 PM 0
Share

iOS is more than capable of using Unity's physics :). Obviously the more stuff going on the slower it goes, but if only one ball is going down at a time it shouldn't be an issue. You really shouldn't notice any slow down if you replicate exactly what Peggle does.

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

10 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

how do i make pinball ? 1 Answer

Enemy bouncing physics 0 Answers

make object rotate towards its direction after bounce 1 Answer

2D swinging physics. 0 Answers

How do I increase forward velocity of a 2D ball when it bounces? 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