About Store Forum Documentation Contact



Post Reply 
AnimSkel.animate(Motion, clear) replacement
Author Message
KrysleQuinsen Offline
Member

Post: #1
AnimSkel.animate(Motion, clear) replacement
Hi, I just update the engine and notice the AnimSkel.animate(Motion, clear) is being removed which broke all the Attack Animation system I'm using.

Because of the way my attack animation working, they only move the specified bone (arm and hands) instead of the whole body, so I want the Motion to override the arm or whatever skeleton it is using.

Using the recommended AnimSkel.clear(1).animate(Motion) causes all attacks to become a T-Pose. While not using .clear() will cause it to not swing probably due to Stand/Idle animation being blend into the motion.

Any idea how do I fix these?
02-07-2021 10:02 AM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #2
RE: AnimSkel.animate(Motion, clear) replacement
I'll try to solve this today
02-08-2021 04:06 AM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #3
RE: AnimSkel.animate(Motion, clear) replacement
I've updated source code.
Instead of
AnimSkel.clear(blend).animate(Motion)
please try
AnimSkel.animateReplace(Motion)
02-08-2021 09:22 AM
Find all posts by this user Quote this message in a reply
KrysleQuinsen Offline
Member

Post: #4
RE: AnimSkel.animate(Motion, clear) replacement
Thank you, it working now though it still doesn't look like before the update.
Currently, it looks a bit robotic due to attack animation having a body bone (for turning waist during swing) replacing instead of blending, but I'll see if I can adjust them through coding or the animation.
02-08-2021 02:31 PM
Find all posts by this user Quote this message in a reply
Post Reply