hatfield-c / hop

Repository for "HopTo" game
0 stars 0 forks source link

[HOP-25] Individual shells should determine if they can bounce #25

Open hatfield-c opened 4 years ago

hatfield-c commented 4 years ago

There is a delay enforced before a bounce can be applied, to give the object ample time to move away from terrain such that it doesn't try to apply force multiple times during a collision event.

This delay is enforced however by the central hopper object, which can cause the bouncing behavior to be very unresponsive or odd when multiple shells touch the ground.

The shells should manage their own delay state, and should either overwrite each other or cumulatively add their forces directions together (to be determined through experimentation).