bmddota / barebones

:meat_on_bone: A starter Dota 2 custom game with useful hooks, settings, and libraries.
Apache License 2.0
235 stars 128 forks source link

Tweaked auto-unstick behavior for units with NO_UNIT_COLLISION enabled. #10

Open ghost opened 9 years ago

ghost commented 9 years ago

Physics.lua calling FindClearSpaceForUnit on units with NO_UNIT_COLLISION enabled was causing unwanted behavior for me. The FindClearSpaceForUnit caused slight stutter-stepping when the NO_UNIT_COLLISION physics units walked on top of other units. Adding this code fixed this problem.