Is there a way to setup root motion on a slot node in the anim tree? If not is there an easy way to restructure the tree? Sorry, but I am a noob at using root motion.
Announcement
Collapse
No announcement yet.
Using root animation on full body slot
Collapse
X
-
Here is a example of what i got,
FullBodyAnimSlot.SetRootBoneAxisOption (RBA_Translate, RBA_Translate, RBA_Translate); this is what you need
still getting the bugs out but it works. I am brand new to programming but I am finding the Unreal wiki is the most help thats were i found the above function.
HTML Code:State BackHandSpring { Begin: // tell mesh to use Root Motion to translate the actor Mesh.RootMotionMode = RMM_Accel; // Tell mesh to notify us when root motion will be applied, // so we can seamlessly transition from physics movement to animation movement Mesh.bRootMotionModeChangeNotify = TRUE; FullBodyAnimSlot.PlayCustomAnim('BackHandspring',1.0, 0.1,0.1 , False, true ); FullBodyAnimSlot.SetRootBoneAxisOption (RBA_Translate, RBA_Translate, RBA_Translate); FinishAnim(FullBodyAnimSlot.GetCustomAnimNodeSeq()); Gotostate('Acrobatics'); }
Comment
Comment