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"

How to allow a Static mesh within my ThirdPersonCharacter blueprint to move with WASD!

alt text

This is the code!

I want to be able to move the dog that I have and make it so I no longer move the character when I have the camera to the dog active! I have made it so that the character can't move, but how do I make it so that the Dog will move without the character moving! I don't want to make a pawn for this. Moving the dog with WASD!

alt text

Product Version: UE 4.20
capture.png (270.9 kB)
picture.png (1.3 MB)
more ▼

asked Mar 01 '19 at 07:56 PM in Blueprint Scripting

avatar image

6 1 2

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

1 answer: sort voted first

you're probably better off making the dog a separate character. especially if you want the dog to follow the character around. but you could try this, not sure if it will work. there are the attach/detach to component nodes. You basically want to keep moving around the same capsule component at the root just swap out what inherents it's position. So using the names from you're bp, when you swap from the mesh to the dog you first detach(keep world) the mesh from the capsulecomponent then you move the capsulecomponent to the dog then you attach(keep relative) the dog.

more ▼

answered Mar 01 '19 at 09:53 PM

avatar image

1.1k 7 4 10

(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