x

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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Switching Pawns In Third Person Blueprint Problem

Hello,

I'm trying to switch characters simply by pressing Tab as simply as possible. Currently I have all the characters getting pointed into an array when the game starts, and then when I hit Tab I can switch characters. The problem I'm having is that when I switch characters, the characters get stuck in their position, and they stay in their animation. I was curious if anyone has done this or if anyone has a fix.

Here is what is in my level blueprint and screenshot of what is happening in game :

alt text

Adding characters to your screen and copying the code will be enough to test what I have. I'm sure it has something to do with when the system Un Possessing the previous Pawn, but I'm still rather green with Blueprint and I'm not sure how to attach an AI Controller or how to get it and then set it later or if that would even work.

Product Version: Not Selected
Tags:
screenshot.jpg (1.3 MB)
more ▼

asked Sep 23 '14 at 04:15 AM in Blueprint Scripting

avatar image

Sephern
117 4 8 17

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

1 answer: sort voted first

Hey Sephem,

In your MyCharacter Blueprint, go to the Defaults and search for Run Physics with No Controller, and enable that. That should fix the issue for you. The problem is that when you possess another pawn, the pawn your controller left no longer has its Movement Component use its physics. Enabling this will allow it to continue even if you're not currently possessing it.

Hope that helps!

more ▼

answered Sep 24 '14 at 06:37 PM

avatar image Sephern Sep 30 '14 at 03:52 AM

Thank you so much! This really helped!

(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