- Home /
How to develop newtons second law in unity 3d
I want to develop newtons second law , here i chosen one example
please check the below video http://www.youtube.com/watch?v=0LnbyjOyEQ8 same video i want to develop in unity 3d how can i proceed?
That's actually the 3rd law. I'd imagine the physics engine should already be able to do this.
http://unity3d.com/learn/tutorials/modules/beginner/physics/joints
Check this out, two joints per ball and you should be good to go.
Answer by Benproductions1 · Jun 27, 2013 at 12:25 PM
Hello there,
As seen by the video, Newton's third law is:
"For every action there is an equal and opposite reaction"
Basically stating energy can neither be created nor destroyed.
Now to "implement" this into a game engine is really a matter of what you actually want to happen. You really can only simulate that behaviour.
If you just want "Newtons Cradle", simply attach a physics material with respective bounciness and you should see a similar effect.
However note, that every real time physics engine is going to produce "errors". What you might expect to happen, might not always, so keep that in mind.
As for Newton's Second law...:F = ma
Force is just a quantity of measure... Since Unity already has mass and also has acceleration, force is easy to calculate :)
So technically "Force" is already built in
Hopefully that's what you want, but since you didn't really give a clear question, my answers are complete guesswork as to what you wanted. Especially since you have conflictions within your question :)
Please ask better questions from this point on wards so we can all have a better day :)
Hope this helps,
Benproductions1
Your answer
![](https://koobas.hobune.stream/wayback/20220613104948im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Question about addForce() 1 Answer
maximum torque/maximum force 0 Answers
What's the Rigidbody's gravity unit? 1 Answer
Box2D force on object? 0 Answers
Net Force between two objects... 1 Answer