You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
677 B
18 lines
677 B
using UnityEngine;
|
|
|
|
namespace Unity.FPS.AI
|
|
{
|
|
// Component used to override values on start from the NavmeshAgent component in order to change
|
|
// how the agent is moving
|
|
public class NavigationModule : MonoBehaviour
|
|
{
|
|
[Header("Parameters")] [Tooltip("The maximum speed at which the enemy is moving (in world units per second).")]
|
|
public float MoveSpeed = 0f;
|
|
|
|
[Tooltip("The maximum speed at which the enemy is rotating (degrees per second).")]
|
|
public float AngularSpeed = 0f;
|
|
|
|
[Tooltip("The acceleration to reach the maximum speed (in world units per second squared).")]
|
|
public float Acceleration = 0f;
|
|
}
|
|
}
|