|
Corgi Engine v9.4
|
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. | |
| float | RecoilForceAirborne = 10f |
| The force to apply to the Weapon owner if it's airborne when this recoil is triggered. | |
| float | RecoilAngleModifier = 0f |
| The rotation (in degrees) to apply to the recoil force. | |
| Vector2 | DirectionMultiplier = Vector2.one |
| Multipliers to apply to the x and y components of the recoil force. | |
| DamageOnTouch.KnockbackStyles | RecoilStyle = DamageOnTouch.KnockbackStyles.AddForce |
| the chosen way to apply this recoil to the controller | |
| float | Delay = 0f |
| the delay (in seconds) to apply before triggering the recoil | |
| MMFeedbacks | RecoilFeedback |
| a feedback to play when this recoil triggers | |
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