#Mantling or vaulting not working
1 messages Β· Page 1 of 1 (latest)
The light blue trace is where my new location is supposed to be
I have trace
The way I did it was to use root motion with the animation and switch the character movement to flying just before the anim, then switch it back to walking once played. Did some other tweaks as well to get it perfect
When i use root motion it does the same thing but doesnt move me to the location. I just disabled root lock and it gives me this:
Root motion still takes gravity into account, itβs trying to make your actors collision follow the anim but gravity is pulling it down.
Thatβs normal for non root motion, your actor never moves hence why it snaps back
Try either setting motion to flying just before the anim, or set gravity to zero and velocity to zero on the movement component
It seems like with root motion my character never moves also it just plays the animation in the same place
Looks like your using the wrong montage node and setting everything back straight away, use one on right
other than that it might be that your anim isn't set up properly idk...
I was looking for that node but since i was using a function it wasnt avaliable. Anyways when i use that it just sets the location and doesnt play the animation
are you plugging in the reference for mesh in play montage node?
Forgot to say I figured it out but my latest problem is that my capsule trace is hitting the air or hitting nothing and setting actor location to previous set location location or world origin
Looks like your anim is working now though π your using a very different trace to me, I sent two line traces forward, 1 slightly above the other. If the bottom trace hit and top doesnβt it sees it as an edge.
You can then use the end location of the top trace to send a third line trace downwards to get an exact location and info for the anim end location if needed.