Modular Turret C++ Plugin
Version 3
Turret C++ Unreal engine 4 plugin
|
Public Member Functions | |
void | Azimuth (const FVector &RotateDirection) |
void | SetMaxDegreesPerSecondSpeed (const float &Speed) |
Private Attributes | |
float | MaxDegreesPerSecond = 120.f |
This is the Middle Part of the Mortar On which the Barrel will be attached. This allows movement in Horizontal direction
void UMortarTurret::Azimuth | ( | const FVector & | RotateDirection | ) |
Rotates The Turrets Based on the Direction
[in] | RotateDirection | FVector Telling Which way to look.We will only apply Yaw |
void UMortarTurret::SetMaxDegreesPerSecondSpeed | ( | const float & | Speed | ) |
Sets MaximumRotation Degree Speed at which the turret can rotate
[in] | Speed | Maximum Speed of rotation |
|
private |
Maximum rotation speed of turret. Exposed in Editor