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"

Class with a possessed child actor does not fall

I have a parent class called Camera, and a child class called Player.

Player is possessed at the beginning of play. Player is able to fall, but camera isn't. Once make it so Player is not possessed, the camera now falls, along with the player, but now the player cannot move around.

What I want is for both the camera and player to fall, but the player can move around.

I have tested this with another, fresh class, and its the same deal. Once the class is possessed, it is no longer affected by gravity.

Product Version: UE 4.14
Tags:
more ▼

asked Jan 12 '17 at 11:07 PM in Blueprint Scripting

avatar image

Willard720
308 16 25 55

avatar image Matthew J Jan 13 '17 at 07:22 PM

Hello Willard720,

What type of class are Camera and Player? Are they direct children, as in Player inherits from Camera? Is there any reason that these can't be two components in the same actor? In general, you should be possessing the parent in this situation, as the child inherits the position of the parent, not vice versa.

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

0 answers: sort voted first
Be the first one to answer this question
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