public BotLogicNavMesh(BotLocomotive botLocomotion, NavMeshAgent navMeshAgentComponent, ProximityChecker jumpProximityChecker, float walkSpeed = 0.75f, float walkRotationSpeed = 120f, float runSpeed = 5f, float runRotationSpeed = 120f) : base(botLocomotion) { Initialize(botLocomotion, navMeshAgentComponent, jumpProximityChecker, walkSpeed, walkRotationSpeed, runSpeed, runRotationSpeed); }
private void Initialize(BotLocomotive botLocomotion, NavMeshAgent navMeshAgentComponent, ProximityChecker jumpProximityChecker, float walkSpeed = 0.75f, float walkRotationSpeed = 120f, float runSpeed = 5f, float runRotationSpeed = 120) { NavMeshAgentComponent = navMeshAgentComponent; JumpProximityChecker = jumpProximityChecker; WalkSpeed = walkSpeed; WalkRotationSpeed = walkRotationSpeed; RunSpeed = runSpeed; RunRotationSpeed = runRotationSpeed; NavMeshAgentComponent.speed = WalkSpeed; NavMeshAgentComponent.angularSpeed = WalkRotationSpeed; }
public BotLogicFlight(BotLocomotive botLocomotion, Flying3DObject flying3DObjectComponent) : base(botLocomotion) { Flying3DObjectComponent = flying3DObjectComponent; }
public BotLogicLocomotion(BotLocomotive botLocomotion) { BotLocomotiveComponent = botLocomotion; }