Open josiahw opened 11 years ago
The ScriptedKick class needs to be checked for correctness so it handles behaviours properly. The new behaviour will try to call it continuously while in striker mode, so it is the job of the kick to let the movement manager know that it cannot yet kick (ie the ball is outside the kickbox). I think this currently happens, but occasionally we get strange behaviour.
The angle comparisons in ScriptKick::kickToPoint look dodgy, which could be causing the strange behaviour. I'll look into improving the SckriptKick class over the weekend.
fix up our scripts so we can script using IK to make balance easier.