Corgi Engine
v9.0
|
A class used to store recoil properties, defining forces to apply on both ground and air, style, delay, and an associated feedback More...
Public Attributes | |
float | RecoilForceGrounded = 10f |
The force to apply to the Weapon owner if it's grounded when this recoil is triggered. More... | |
float | RecoilForceAirborne = 10f |
The force to apply to the Weapon owner if it's airborne when this recoil is triggered. More... | |
float | RecoilAngleModifier = 0f |
The rotation (in degrees) to apply to the recoil force. More... | |
Vector2 | DirectionMultiplier = Vector2.one |
Multipliers to apply to the x and y components of the recoil force. More... | |
DamageOnTouch.KnockbackStyles | RecoilStyle = DamageOnTouch.KnockbackStyles.AddForce |
the chosen way to apply this recoil to the controller More... | |
float | Delay = 0f |
the delay (in seconds) to apply before triggering the recoil More... | |
MMFeedbacks | RecoilFeedback |
a feedback to play when this recoil triggers More... | |
A class used to store recoil properties, defining forces to apply on both ground and air, style, delay, and an associated feedback
float MoreMountains.CorgiEngine.WeaponRecoilProperties.Delay = 0f |
the delay (in seconds) to apply before triggering the recoil
Vector2 MoreMountains.CorgiEngine.WeaponRecoilProperties.DirectionMultiplier = Vector2.one |
Multipliers to apply to the x and y components of the recoil force.
float MoreMountains.CorgiEngine.WeaponRecoilProperties.RecoilAngleModifier = 0f |
The rotation (in degrees) to apply to the recoil force.
MMFeedbacks MoreMountains.CorgiEngine.WeaponRecoilProperties.RecoilFeedback |
a feedback to play when this recoil triggers
float MoreMountains.CorgiEngine.WeaponRecoilProperties.RecoilForceAirborne = 10f |
The force to apply to the Weapon owner if it's airborne when this recoil is triggered.
float MoreMountains.CorgiEngine.WeaponRecoilProperties.RecoilForceGrounded = 10f |
The force to apply to the Weapon owner if it's grounded when this recoil is triggered.
DamageOnTouch.KnockbackStyles MoreMountains.CorgiEngine.WeaponRecoilProperties.RecoilStyle = DamageOnTouch.KnockbackStyles.AddForce |
the chosen way to apply this recoil to the controller