How to allow a Static mesh within my ThirdPersonCharacter blueprint to move with WASD!
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!
asked Mar 01 '19 at 07:56 PM in Blueprint Scripting
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.
answered Mar 01 '19 at 09:53 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here