Cinemachine
![]() | CinemachineColliderm_OptimalTargetDistance Field |
If greater than zero, a higher score will be given to shots when the target is closer to
this distance. Set this to zero to disable this feature
Namespace: Cinemachine
Assembly: Cinemachine (in Cinemachine.dll) Version: 2.0.0.0 (2.0.0.0)

[HeaderAttribute("Shot Evaluation")] [TooltipAttribute("If greater than zero, a higher score will be given to shots when the target is closer to this distance. Set this to zero to disable this feature.")] public float m_OptimalTargetDistance
var m_OptimalTargetDistance
Field Value
Type: Single