there is a strange problem when ever i hit a tree my car / tank stops driving forward https://drive.google.com/file/d/1M5-GbW7ZfUTr4W_iflXlZx_TF3a_lcYb/view?usp=sharing
Thanks for providing the save! I believe this is related to the crash reported here. You also have "Schall Tank Woodcutting" enabled, and it's also loaded before Autodrive, so STW will destroy the tree before AD has a chance to notice that a vehicle crashed into a tree. Thus, vanilla behavior kicks in: on impact, entities take damage -- and if either event.entity or event.cause is a vehicle, their speed will be set to 0 at the start of the next tick. Autodrive keeps track of vehicles in on_entity_damaged, and sets vehicle speed to >0 in its next on_tick event. But it can't do that if it doesn't get the on_entity_damaged event …
I suppose things will work as expected again when you add a dependency to "Schall Tank Woodcutting". Just change the "dependencies" section of its info.json to this:
"dependencies": [
"base >= 1.1.0",
"? autodrive"
]
If that works, I guess I'll actually have to consider making a fork of "Schall Tank Woodcutting" where I can enforce that it will be loaded after "Autodrive".