https://www.unrealengine.com/marketplace/en-US/product/pid-controller-for-steering-and-more
A PID controller allows you to control a variable in your system, by reading its value, comparing it with a reference and providing an output that can be applied to your system to reduce the error or the difference between the two (variable and reference). With a PID controller you can easily control a complex physic system without knowing the details of the implementations, it can be useful for steering control in vehicles, Navigation in NPC or cameras, projectiles control, followers of any kind, even for character control with analog input devices such thumbsticks or pads. When ever you need a variable in your game to follow a reference, a PID controller will be a great solution.
Documentation:
Video Tutorials: https://www.youtube.com/playlist ... tFOMf94u8JP6YApYC1P
Demos:
Vehicle Steering: https://github.com/carloscastrillon1/Unreal4_PID_Steering_Control
Camera Rotation Control: https://github.com/carloscastrillon1/PIDCameraDirectionFollower
Character Head Follower https://github.com/carloscastril ... eadRotationFollower
Missile Steering Control: https://github.com/carloscastril ... awPitchSpeedControl
Technical Details
List of Features:
Custom Module: PID
Implements PIDController class that inherites from UObject.
Provides bluprintCallable function to set minimal and maximal value of the process variable which by default is set between 0 and 1.
Provides functions to set proportional constant Kp, Integral constant Ki, and derivative constant Kd.
Provides bluprintCallable function to Process the PIDController and get an output value to control the process each frame.
Network Replicated: No
Supported Development Platforms
Win32, Win64, Android, IOS
Supported Target Build Platforms
Win32, Win64, Android,IOS