Hello everyone, I’m making a game where I want the third person character to be able to grab any ledge of anything then still grabbed as long as he wants and then jump again. I’ve been following the tutorial video called “how to make perfect ledge grabs everytime” and it has been really useful and the system is almost perfect. There is a little problem that makes that the character is grabbing just a little in front of the other actor so he’s grabbing the void but it’s a detail. My main problem is that when I try to grab a moving platform, the character don’t follow it at all. as you can see in the picture. He goes up for a while in the void and then stay grabbed in the void (the platform is moving up and down again and again).
I asked the guy who made the tutorial how to fix that and he gave me a response but as I am a real beginner I don’t really know how to make it… I want to learn and understand what I’m doing but for me it is really hard to understand as english is not my first langage. The man said “After attaching to the object you can use a timer loop and the actor reference to match the location of the character to the location of the actor.”
Any help or more explanation is really helpful and I thank you a lot everyone for your precious time. Here are the picture of the bug + the blueprints :
it more like create a timeline, lerp it from the player location to the movable point location. and maybe run this after finish grabbing, which is after StopGrabTimer function
I remade exactly what you did but when I grab something it actually teleport me in the middle of the moving platform and then make the character go in diagonal for a few seconds and then stop in the void. I don’t know if it helps but with my blueprints from the original post, when I grab the moving platform it actually make me grab the void and then goes up for a bit in the void and then stops…
I’ve searched a lot about this topic, and couldn’t find almost any information about grabing and continue to be grabbed to the ledge of a moving object… Or really complex things that I don’t understand yet.. Someone said these two possibilities and I’m actually trying to test them too even If I don’t know how for the moment… This looks like a complex topic and I’ll maybe consider not putting moving platforms in my game to make things easier… But if someone ever look for how to do this for his/her game, don’t hesitate anyone who knows to reply to this, I’ll be really interested in knowing the solution too and implement it if I can
These are the two ideas a person gave me :
”A) Try to actually attach to the object via something like AttachActorToActor”
→I actually kinda tried something that is a bit like this but it didn’t worked (maybe I did it wrong)
“B) Store data about the relative location/rotation of the 2 actors when the ledge grab starts and then do the math to update your actor to match the moving actor”
Thanks again @LegendGary for taking time to respond to me this is really kind of you