Pawn walking on other Pawn
I need to create a system in BP where a character controlled by one player can walk around and be aligned to a spaceship controlled by another player. I've already experimented a bit with planar movement and changing the first pawn's rotation to match the second one's, but so far I've got nothing.
Here's a screenshot, the first pawn can walk around on the spaceship while it's moving forward, but as you can see when it rolls the first pawn doesn't follow and eventually falls to the ceiling.
Thanks in advance!
asked Dec 19 '15 at 09:06 PM in Blueprint Scripting
This is a quite huge topic right now.
To properly get what for example Star Citizen is doing you need a local grid. Maybe this would work with a physics volume to just have gravity point in the correct direction relative to the ship, maybe you would have to create something more complex.
However most importantly why it's currently not working even if you just walk (because the planar movement will fail once you jump) is because the CharacterMovementComponent is not able to walk on walls beyond 90° angle. Even less if you didn't increase it from the 45° default setting. You will have to modify that class in C++ or write your own movement from the get go in order to fix this right now. There are plans from epic to change this class so it works for walking on walls and ceilings as well but as of now it's not released.
answered Dec 20 '15 at 12:47 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here