Paperboy BP_Player OLD Movement 210260
- Exposure: public
- UE Version: 5.0
ctrl + v
1 comment
-
This is my old movement system, as it is an early blueprint I don't remember much about it. The top comment is used for forward movement. Using the 45 degree arrow to get a forward direction, multiplying with "Speed" (a float variable always set to 725), multiplying with delta seconds to make it frame rate independent, and finally multiplying with how far forward the analog stick is pressed forward (between the clamped values of 0.1 and 1.0), the resulting value is plugged into the 'AddActorWorldOffset' node to push Paperboy forward.
The bottom comment works similarly to the top comment, but uses to different arrows, one pointing at Paperboy's maximum left angle, and one pointing at Paperboy's maximum right angle, making it so inputting left makes you go left, and inputting right makes you go right, but not too far of a left or right angle.
TobiyC
January 18, 2023, 7:18 pm