- Home /
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
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.
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?
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
Follow this Question
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