AztecGameLab / LongTermGame4

welcome to long term game 4!
2 stars 1 forks source link

Grapple fix #245

Closed poetahto closed 3 years ago

poetahto commented 3 years ago

Fixed several bugs relating to the Grappling arrows.

image

If usePhysicsPull is enabled, it will apply a force to the object being pulled instead of lerping the transform. Using the physics system brings some advantages and disadvantages.

The biggest advantage of this option is much better collision interactions as the object gets pulled (it no longer clips through walls, and can actually be used to rotate objects since it applies a torque). The disadvantages are the box feels much more jumpy and alive, and has a lot of trouble getting over dips.