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. 

Make a child object move the player character?

I'm modifying the Side Scroller template.

I've created a new character blueprint to replace the default player character. My player is a space ship static mesh which is moved around by a PhysicsThrusterComponent object. So, in this case, I don't have a skeletal mesh to assign to the Mesh component of the character blueprint. The ship static mesh is a child of Mesh, and the PhysicsThruster component is child of the ship mesh:

alt text

The ship does move, but it moves independently of the Mesh component. I'm guessing this will be a problem in my game because the player technically isn't moving at all. Only the child object is moving.

How can I make the ship mesh move the player character along with it?

Product Version: Not Selected
Tags:
more ▼

asked Dec 21 '14 at 11:13 PM in Blueprint Scripting

avatar image

TimmyToolman
17 4 4 5

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

1 answer: sort voted first

In this case you dont need the charactermovement component and the capsule component, since flying characters dont use the movement component of a walking character. So you can just remove those and place your spaceship mesh to the root, or start over and make something like the ship in flying template.

more ▼

answered Dec 21 '14 at 11:19 PM

avatar image

Jacky
16.8k 671 167 676

avatar image TimmyToolman Dec 22 '14 at 05:19 AM

That makes sense, but I was not able to remove either of those components from the Character blueprint. So, following your next suggestion, I started over with a blank Pawn blueprint, added my mesh, thruster, and a camera, and everything worked as intended. Thanks!

(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