Skip to content
This repository has been archived by the owner on Sep 2, 2019. It is now read-only.

Fix KickScripts #33

Open
josiahw opened this issue May 26, 2013 · 2 comments
Open

Fix KickScripts #33

josiahw opened this issue May 26, 2013 · 2 comments

Comments

@josiahw
Copy link
Member

josiahw commented May 26, 2013

fix up our scripts so we can script using IK to make balance easier.

@ghost ghost assigned mmetcalfe May 26, 2013
@josiahw
Copy link
Member Author

josiahw commented Jun 6, 2013

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.

@mmetcalfe
Copy link
Member

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.

@mmetcalfe mmetcalfe removed their assignment Apr 12, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants