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"

Unpossessing an actor freezes its physics?

I have searched for this problem quite extensively and could not find an answer, so this is my first time asking a question on this forum.

I am currently creating a local-multiplayer turn-based project using the Side Scroller Example as a base (i.e. using the SideScrollerCharacter BP along with my own BP configurations). I am handling each player turn by possessing the next player's character at the end of the current player's turn, and this works well except for the problem that it seems like all physics on the current player's character is frozen as I possess the next character.

For example, if I were to jump right as my turn ended, my character would be stuck in his position at the end of the turn, with the SideScrollerCharacter's falling animation repeatedly looping as it is constantly in mid-air. Is there anyway to not have the actor's physics frozen as I unpossess the current player's character before moving onto the next? (technically I do not use the unpossess blueprint, I just possess the next character without unpossessing and using unpossess doesn't seem to solve the problem)

Thank you!

Product Version: UE 4.11
Tags:
more ▼

asked May 30 '16 at 08:15 AM in Using UE4

avatar image

Mysterise
21 1 3 5

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

1 answer: sort voted first

Not at the comp to test but i think you need to spawn an AIController and assign it at the beginning... maybe? I think the problem is it has no controller essentially.

more ▼

answered May 31 '16 at 09:27 PM

avatar image

RimmyD
2.6k 98 16 97

(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