In this video:
The old fighter performs a high kick
We can see the dynamic collision shape leaves the character collision capsule shape while performing the kick
Then we have the “end of animation” state for a couple of seconds
Then - back to IDLE
I would like to have the IDLE animation exactly in the end of the kick animation position and not going back to where the capsule is.
Is it possible to fix that behavior in code? or do I have to fix the animation itself in Blender?
I think the best solution would be to edit the kick animation to be an “in place” animation.
You could do this in Blender. I would probably use Maud and/or Wes.
I tried running Maud and got this:
SEVERE: Uncaught exception thrown in Thread[jME3 Main,5,main]
java.lang.NullPointerException: Cannot invoke "javax.script.ScriptEngine.eval(java.io.Reader)" because "scriptEngine" is null
Thanks for the bug report.
I believe this is because the JDK you’re using doesn’t include Nashorn. (It was removed from JDK 15.) Do you have a JDK 11 available to try?
I did some research into the Nashorn issue.
- The last release of Maud was 1.0.0-beta1, almost 2 years ago. The build instructions specify that version.
- In February 2022, I discovered that not all JDKs provide Nashorn, so I added a dependency on “org.openjdk.nashorn:nashorn-core”. That should solve the issue for JDKs above 14.
I’ll create a new release of Maud that includes the dependency. (This is mainly a matter of updating the documentation.) In the mean time, if you want to try Maud with your current JDK, update your clone of the repo as follows:
$ cd Maud
$ git checkout master
$ git pull
Thank you so much Stephen.