Third Person Cover Shooter  1.6
CoverShooter.CoverSettings Struct Reference

Defines cover settings for a character. More...

Static Public Member Functions

static CoverSettings Default ()
 Default cover settings. More...
 

Public Attributes

bool CanUseTallCorners
 Can the character peek from tall cover corners to aim. More...
 
bool CanUseLowCorners
 Can the character peek from low cover corners to aim. More...
 
float ExitBack
 Back area of a cover in angles, defined as a circle. More...
 
float LowCapsuleHeight
 Height of character's collision capsule when idle in low cover. More...
 
float LowAimCapsuleHeight
 Height of character's collision capsule when aiming back in low cover. More...
 
float LowRotationSpeed
 How quickly the character is orientated towards a direction in a low cover. More...
 
float TallRotationSpeed
 How quickly the character is orientated towards a direction in a tall cover. More...
 
float EnterDistance
 Character enter cover if it is closer than this value. More...
 
float LeaveDistance
 Character exit cover if it is furhter away than this value. More...
 
float ClimbDistance
 Character exit cover if it is furhter away than this value. More...
 
float MinCrouchDistance
 Distance to cover at which the character is fully crouching when near it. More...
 
float MaxCrouchDistance
 Distance to cover at which the character begins to transition into the crouch state. More...
 
float PivotSideMargin
 Controls the location of camera pivot position when in cover. More...
 
float CornerAimTriggerDistance
 Distance from a side of a cover at which player can enter aiming from a corner. More...
 
float TallSideEnterRadius
 Capsule radius used when determining if the character is in front of a tall cover when entering it. More...
 
float TallSideLeaveRadius
 Capsule radius used when determining if the character is in front of a tall cover when entering it. More...
 
float LeftTallCornerOffset
 Point relative to a tall corner for the motor to go back to after corner aiming. More...
 
float RightTallCornerOffset
 Point relative to a tall corner for the motor to go back to after corner aiming. More...
 
float LowSideEnterRadius
 Capsule radius used when determining if the character is in front of a low cover when entering it. More...
 
float LowSideLeaveRadius
 Capsule radius used when determining if the character is in front of a low cover when entering it. More...
 
float LeftLowCornerOffset
 Point relative to a low corner for the motor to go back to after corner aiming. More...
 
float RightLowCornerOffset
 Point relative to a low corner for the motor to go back to after corner aiming. More...
 
float DirectionChangeDelay
 Time in seconds for player to start moving again after changing direction. More...
 
Vector3 CornerOffset
 Approximate position shift done by the corner peek animation. More...
 
CoverUpdateSettings Update
 Settings for cover update delays. More...
 

Detailed Description

Defines cover settings for a character.

Member Function Documentation

◆ Default()

static CoverSettings CoverShooter.CoverSettings.Default ( )
static

Default cover settings.

Member Data Documentation

◆ CanUseLowCorners

bool CoverShooter.CoverSettings.CanUseLowCorners

Can the character peek from low cover corners to aim.

◆ CanUseTallCorners

bool CoverShooter.CoverSettings.CanUseTallCorners

Can the character peek from tall cover corners to aim.

◆ ClimbDistance

float CoverShooter.CoverSettings.ClimbDistance

Character exit cover if it is furhter away than this value.

Defined as a distance between a cover and an edge of players capsule.

◆ CornerAimTriggerDistance

float CoverShooter.CoverSettings.CornerAimTriggerDistance

Distance from a side of a cover at which player can enter aiming from a corner.

◆ CornerOffset

Vector3 CoverShooter.CoverSettings.CornerOffset

Approximate position shift done by the corner peek animation.

Inverted when peeking left.

◆ DirectionChangeDelay

float CoverShooter.CoverSettings.DirectionChangeDelay

Time in seconds for player to start moving again after changing direction.

◆ EnterDistance

float CoverShooter.CoverSettings.EnterDistance

Character enter cover if it is closer than this value.

Defined as a distance between a cover and an edge of players capsule.

◆ ExitBack

float CoverShooter.CoverSettings.ExitBack

Back area of a cover in angles, defined as a circle.

Moving in this direction exits the cover.

◆ LeaveDistance

float CoverShooter.CoverSettings.LeaveDistance

Character exit cover if it is furhter away than this value.

Defined as a distance between a cover and an edge of players capsule.

◆ LeftLowCornerOffset

float CoverShooter.CoverSettings.LeftLowCornerOffset

Point relative to a low corner for the motor to go back to after corner aiming.

◆ LeftTallCornerOffset

float CoverShooter.CoverSettings.LeftTallCornerOffset

Point relative to a tall corner for the motor to go back to after corner aiming.

◆ LowAimCapsuleHeight

float CoverShooter.CoverSettings.LowAimCapsuleHeight

Height of character's collision capsule when aiming back in low cover.

◆ LowCapsuleHeight

float CoverShooter.CoverSettings.LowCapsuleHeight

Height of character's collision capsule when idle in low cover.

◆ LowRotationSpeed

float CoverShooter.CoverSettings.LowRotationSpeed

How quickly the character is orientated towards a direction in a low cover.

◆ LowSideEnterRadius

float CoverShooter.CoverSettings.LowSideEnterRadius

Capsule radius used when determining if the character is in front of a low cover when entering it.

◆ LowSideLeaveRadius

float CoverShooter.CoverSettings.LowSideLeaveRadius

Capsule radius used when determining if the character is in front of a low cover when entering it.

◆ MaxCrouchDistance

float CoverShooter.CoverSettings.MaxCrouchDistance

Distance to cover at which the character begins to transition into the crouch state.

◆ MinCrouchDistance

float CoverShooter.CoverSettings.MinCrouchDistance

Distance to cover at which the character is fully crouching when near it.

◆ PivotSideMargin

float CoverShooter.CoverSettings.PivotSideMargin

Controls the location of camera pivot position when in cover.

Pivot point does not move beyond this margin.

◆ RightLowCornerOffset

float CoverShooter.CoverSettings.RightLowCornerOffset

Point relative to a low corner for the motor to go back to after corner aiming.

◆ RightTallCornerOffset

float CoverShooter.CoverSettings.RightTallCornerOffset

Point relative to a tall corner for the motor to go back to after corner aiming.

◆ TallRotationSpeed

float CoverShooter.CoverSettings.TallRotationSpeed

How quickly the character is orientated towards a direction in a tall cover.

◆ TallSideEnterRadius

float CoverShooter.CoverSettings.TallSideEnterRadius

Capsule radius used when determining if the character is in front of a tall cover when entering it.

◆ TallSideLeaveRadius

float CoverShooter.CoverSettings.TallSideLeaveRadius

Capsule radius used when determining if the character is in front of a tall cover when entering it.

◆ Update

CoverUpdateSettings CoverShooter.CoverSettings.Update

Settings for cover update delays.


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