Igor Slobodskov
Igor Slobodskov
Hi, I use countersteering only, same as on real motorcycles. [https://en.wikipedia.org/wiki/Countersteering](https://en.wikipedia.org/wiki/Countersteering) My code trying to maintain unstable balance by steering. If motorcycle falls left, wheel turns left and tries to...
You can add controller in fixedUpdate [here](https://github.com/Kright/MotorcyclePhysics/blob/master/Assets/MotoController.cs).
You can add another walker, which checks that tile hasn't enemy city. https://github.com/C7-Game/Prototype/blob/Development/C7Engine/AI/Pathing/EdgeWalker.cs This walker could be passed to DijkstraAlgorithm here: https://github.com/C7-Game/Prototype/blob/Development/C7Engine/AI/Pathing/DijkstrasAlgorithm.cs#L23