Mortar Pro Plugin  Version 2
Modular Turret Plugin
All Classes Namespaces Functions Variables Enumerations Enumerator Pages
UMortarProTurretMeshComponent Class Reference

#include <MortarProTurretMeshComponent.h>

+ Inheritance diagram for UMortarProTurretMeshComponent:
+ Collaboration diagram for UMortarProTurretMeshComponent:

Public Member Functions

void Azimuth (const FVector &RotateDirection)
 
float GetMaxDegreesSpeed () const
 
void SetMaxDegreesSpeed (const float &Speed)
 

Protected Attributes

float MaxDegreesSpeed = 180.f
 

Detailed Description

This is the Middle Part of the Mortar On which the Barrel will be attached. This allows movement in Horizontal direction

Member Function Documentation

◆ Azimuth()

void UMortarProTurretMeshComponent::Azimuth ( const FVector &  RotateDirection)

Rotates The Turrets Based on the Direction

Parameters
[in]RotateDirectionFVector Telling Which way to look.We will only apply Yaw
Azimuth/Elevation Image

◆ GetMaxDegreesSpeed()

float UMortarProTurretMeshComponent::GetMaxDegreesSpeed ( ) const

Get MaximumRotation Degree Speed at which the turret can rotate

Returns
Maximum Speed of rotation in float

◆ SetMaxDegreesSpeed()

void UMortarProTurretMeshComponent::SetMaxDegreesSpeed ( const float &  Speed)

Sets MaximumRotation Degree Speed at which the turret can rotate

Parameters
[in]SpeedMaximum Speed of rotation

Member Data Documentation

◆ MaxDegreesSpeed

float UMortarProTurretMeshComponent::MaxDegreesSpeed = 180.f
protected

Maximum rotation speed of turret. Exposed in Editor


The documentation for this class was generated from the following file: