Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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!

Product Version: UE 4.9
more ▼

asked Dec 19 '15 at 09:06 PM in Blueprint Scripting

avatar image

103 5 10 13

avatar image Dogsofknowledge Dec 20 '15 at 11:58 AM

Is this not possible in Blueprint, or is there another reason no one's replying?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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.


more ▼

answered Dec 20 '15 at 12:47 PM

avatar image

5.9k 291 86 293

avatar image Dogsofknowledge Dec 20 '15 at 03:04 PM

Ok, thanks for your reply. I'll try physics volumes, then I'll see about creating my own character. This is a pretty important feature in my game, so it'll need to be done soon. I also tried Physics Constraints, but then the ship spins out of control whenever the player tries to walk.

avatar image Dogsofknowledge Dec 20 '15 at 06:35 PM

Okay, physics volumes don't seem to do anything except change gravity, so I'll start working on a custom character I guess.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question