Struct OculusAvoidanceWeights
Assembly: ProjectDawn.Navigation.dll
Syntax
[Serializable]
public struct OculusAvoidanceWeights
Constructors
|
Improve this Doc
View Source
OculusAvoidanceWeights(float, float, float)
Declaration
public OculusAvoidanceWeights(float direction, float occlusion, float veloecity)
Parameters
Fields
|
Improve this Doc
View Source
Direction
Declaration
[Tooltip("Determines how likely the avoidance system will choose a direction close to the desired one. A value closer to 1 will favor directions aligned with the desired target direction.")]
[Range(0, 1)]
public float Direction
Field Value
|
Improve this Doc
View Source
Occlusion
Declaration
[Tooltip("Controls how likely the avoidance system will choose a direction that minimizes occlusion by obstacles. A value closer to 1 will prioritize less obstructed paths.")]
[Range(0, 1)]
public float Occlusion
Field Value
|
Improve this Doc
View Source
Velocity
Declaration
[Tooltip("Indicates how likely the avoidance system will select a direction close to the current velocity of the agent. A value closer to 1 will favor maintaining the agent’s momentum.")]
[Range(0, 1)]
public float Velocity
Field Value
Properties
|
Improve this Doc
View Source
Default
Declaration
public static OculusAvoidanceWeights Default { get; }
Property Value
|
Improve this Doc
View Source
IsNormalized
Declaration
public bool IsNormalized { get; }
Property Value
Methods
|
Improve this Doc
View Source
Normalize()
Declaration