Prevent Raised Splines From Speeding Up Character
Hi, so I have a system where my character rides along a spline it works perfectly until I move the spline up the Z axis
when this is done the character moves faster depending on how high I raised it
I'd like the movement to be uniform all the way around
I'll post the blueprint here since explaining it in words won't really help
any help would be appreciated thanks!
asked Nov 03 '18 at 03:07 AM in Blueprint Scripting
My guess is that your character rotation is not pitching up or down so when you add movement to it, all the speed is applied on the x and y axes. Pulling a spline up or down in Z means that it will travel the same distance in x and y within the same time, regardless of the z slope which makes it look like it is going really fast because it is not thinking of any of that displacement as being distributed on the a but it is following the spline.
Not sure hoe to fix it because I dont know if the problem is in how add movement input works when movement mode is Walking or if it is because of hoe tge forward vector is calculated on a character pawn because character pawns are always facing laterally (though their camera can pitch up and down so you may have to get something other than forwars vector
answered Nov 03 '18 at 03:16 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here