Game Mechanics – impact on pins
Finding this code in the Unity3D community forum was total joy and happiness, I know I’m a lame newbie.
To date and from a newbie perspective, I think it rates as the coolest bit of code for unity physics. It actually works out the impact of the collider (ball in this case) and then calculates the impact force to the attached game object (the pins) to simulates the collision effect.
This will be in the code tool box for a while ;)
[(<more to come>)]
0 comments