walk on the wall in BP
hello guys, i have a problem, I would like to implement the walk on walls in fps template like this: https://www.youtube.com/watch?v=ebY3R9UIFXo&feature=youtu.be
I tried to ignore the physic and i change the GravityScale on my CharacterMovementComponent but it did not work, it is the first time I do something like that and I do not know how to do, I hope someone can help me
thanks for your time.
asked Mar 08 '15 at 06:43 PM in Blueprint Scripting
The quick answer is: No. It's not possible.
The longer answer is yes it kinda is possible. But the character movement component is not designed to work like that. This means you have to implement your own movement functions. It probably doesn't have to be as complex as the character movement component but for scale: That one is 7000 lines of code.
In case you really want this: You have to do a trace at the location you expect your character to be next frame, check the hit if it's legit and then move your character there. Keep gravity and walking off ledges in mind. As well as steps and round shapes. Since you would like this type of movement to walk on walls you also need to modify the rotation of your character. That's quite a lot of work and I really wouldn't recommend this for a beginner.
I hope this helps.
answered Mar 08 '15 at 07:23 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here