MartinK12
Member
TowerDefense game, tanks moving on smooth path. Paths go in all directions.
I’d like to slow tanks down (reduce their speed) on path when they are turning so it looks better.
Unfortunately I don’t have idea how to handle it based on path because path has plenty points to make turning look better?
The only solution I come up with is to place obj_slow_down_speed before turn and obj_speed_normal after turn and check collision with those objects.
Anyone have ideas how I could slow tanks down while their turn on path? Thank you
Image of example path.
I’d like to slow tanks down (reduce their speed) on path when they are turning so it looks better.
Unfortunately I don’t have idea how to handle it based on path because path has plenty points to make turning look better?
The only solution I come up with is to place obj_slow_down_speed before turn and obj_speed_normal after turn and check collision with those objects.
Anyone have ideas how I could slow tanks down while their turn on path? Thank you
Image of example path.
Attachments
-
26.2 KB Views: 5