How do you add a movement component to a pawn BP?
How do I add/change a movement component from a pawn in a BP?
MyPawn is based on Pawn -> no native MovementComponent
I am trying to controll (click to movre right now) Pawn via Blueprints. At first I was trying to possess the pawn myself and to move it around via click event but that didn't work as expected. Second I tried to use an AIController but move to location fails. Maybe because my pawn doesn't have a movementcomponent. But I can only add a projectile or rotation component and not a character (native in character class) or flying (native in defaultpawn) component If I use teleport instead move to location my pawn works fine but I want it to move there not teleport.
asked Apr 02 '14 at 08:48 PM in Blueprint Scripting
I found out that there is no way to add a movement component to a normal Pawn via bluepints. But I also found out that the DefaultPawn class has one and is exaclty the class I was looking for
answered Apr 25 '14 at 01:57 PM
I haven't found a solution for this yet either, but I've gone to simply extending DefaultPawn instead of Pawn for my non-character pawns. This should solve your problem, even if it's not exactly what you've asked for, I suppose...
answered May 02 '14 at 03:24 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here