My first guess is that the animation and the physics engine are fighting for control over the kickable's position...
I didn't test the following node graph, but I love playing with graphs in Korman, so I gave it a try !
Maybe it will help ?
- Show Spoiler
- graph.png (146.48 KiB) Viewed 4926 times
What I tried to do in the previous graph:
- When the animation starts, send a "Disable Physics" message to the kickable. This prevents the physics engine from dragging the object downwards.
- Then, start the animation.
- Wait for the animation to end (that's what the "Timed Callback" is, you'll have to adjust it to the correct time in seconds).
- And finally re-enable physics for the kickable.
(btw, isn't there a better way to lock the responder until the animation is finished ? This would avoid using the timed callback...)
Anyway, Korman devs: you did a great job. Logic scripting is so fun ! It would have taken me hours to find the AlcScript equivalent...