BlackHole Bowls – Development and Process – Part 3

No comments

Game Mechanics – impact on pins

hitting-the-pins

Finding this code in the Unity3D community forum was total joy and happiness, I know I’m a lame newbie.

bandicam-2017-01-07-13-22-49-664

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

 

 

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s