Third Person Cover Shooter  1.6
CoverShooter.GrenadeSettings Struct Reference

Grenade settings for the CharacterMotor. More...

Static Public Member Functions

static GrenadeSettings Default ()
 Default grenade settings. More...
 

Public Attributes

GameObject Left
 Grenade to turn on and off and clone when throwing from left hand. More...
 
GameObject Right
 Grenade to turn on and off and clone when throwing from right hand. More...
 
float MaxVelocity
 Maximum allowed initial grenade velocity. More...
 
float Gravity
 Gravity applied to the grenade. More...
 
float Step
 Time in seconds between each calculated point in the arc. More...
 
Vector3 StandingOrigin
 Origin of grenade path relative to the feet when standing. More...
 
Vector3 CrouchOrigin
 Origin of grenade path relative to the feet when crouching. More...
 
bool DropOnHit
 Are grenades dropped mid-throw when the character is hurt. More...
 

Detailed Description

Grenade settings for the CharacterMotor.

Member Function Documentation

◆ Default()

static GrenadeSettings CoverShooter.GrenadeSettings.Default ( )
static

Default grenade settings.

Member Data Documentation

◆ CrouchOrigin

Vector3 CoverShooter.GrenadeSettings.CrouchOrigin

Origin of grenade path relative to the feet when crouching.

Inverted for the left hand.

◆ DropOnHit

bool CoverShooter.GrenadeSettings.DropOnHit

Are grenades dropped mid-throw when the character is hurt.

◆ Gravity

float CoverShooter.GrenadeSettings.Gravity

Gravity applied to the grenade.

Positive values point down.

◆ Left

GameObject CoverShooter.GrenadeSettings.Left

Grenade to turn on and off and clone when throwing from left hand.

◆ MaxVelocity

float CoverShooter.GrenadeSettings.MaxVelocity

Maximum allowed initial grenade velocity.

◆ Right

GameObject CoverShooter.GrenadeSettings.Right

Grenade to turn on and off and clone when throwing from right hand.

◆ StandingOrigin

Vector3 CoverShooter.GrenadeSettings.StandingOrigin

Origin of grenade path relative to the feet when standing.

Inverted for the left hand.

◆ Step

float CoverShooter.GrenadeSettings.Step

Time in seconds between each calculated point in the arc.


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