There is no loss of speed during the turns. Both dinosaurs run at constant speeds. The Velociraptor will get its prey if it is within 5 meters of its prey. The initial difficulty that was encountered while designing the model was that as the two dinosaurs move, the Velociraptor needs to know where the Thescelosaurus is located so that it knows how the current situation compares with previously encountered states. It is impossible for an animal to make sharp turns.
Animals always turn in circles and their turning radius depends on their size, height and weight.
The turning radius for the Velociraptor was determined to be 1.5 meters and that of the Thescelosaurus to be 0.5 meters. Angles are generated from 0 to 180 degrees with respect to the new axis. The Velociraptor takes off on the circle of turning radius 1.5 meters on the circle shown in the Figure 6 and covers a part of the DistancePerTimeStep on the circle. Where r is the turning radius and is the angle between the relative axis and the x -axis. CVQ in the Figure 6.