| ... | ... | @@ -21,7 +21,7 @@ Don't forget to set up the Waypoint Movement (selecting a Waypoint Group and ord |
|
|
|
|
|
|
|
## How it works
|
|
|
|
|
|
|
|
If you enable *DrawDebugSpheres* you will see intermediate points that are calculated for every child around every waypoint, depending on last and next waypoint, group formation and offset.
|
|
|
|
If you enable *DrawDebugSpheres* you will see additional points that are calculated for every child around every waypoint, depending on last and next waypoint, group formation and offset.
|
|
|
|
|
|
|
|
#### Abreast
|
|
|
|
|
| ... | ... | @@ -37,13 +37,16 @@ If a child is on the outside path the Algorithm creates the following points: |
|
|
|
| SpeedUpPoint | On the outside path the child needs to walk a greater distance than the parent, therefore we introduce a point at which the child starts to walk faster than the parent. The walking speed is raised accordingly, so that the child arrives at *FirstPointOfNextPath* at the same time the parent arrives at the Waypoint. This value is however bound to only be a certain amount higher than the parents walking speed to prevent big jumps in speed. |
|
|
|
|
| LastPointOfCurrentPath| Last point in the current walking direction |
|
|
|
|
| IntermediatePoint | Additional point to make walking path smoother for big angles |
|
|
|
|
| FirstPointOfNextPath | Last point that is calculated for the current waypoint. This point points towards the next waypoint and is therefore the first point of the path towards the next waypoint|
|
|
|
|
TODO...
|
|
|
|
| FirstPointOfNextPath | Last point that is calculated for the current waypoint. This point "points" towards the next waypoint and is therefore the first point of the path towards the next waypoint|
|
|
|
|
|
|
|
|
|
|
|
|
**2. Inside Path**
|
|
|
|
TODO...
|
|
|
|
On the inside path the Algorithm just creates the *LastPointOfCurrentPath* and adjusts the walking speed such that the child arrives there at the same time the parent arrives at the waypoint.
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
**Big angles**
|
|
|
|
TODO
|
|
|
|
TODO If the angle from the last waypoint towards the next waypoint is very large (close to 180 degree).
|
|
|
|
|
|
|
|
TODO The Movement of childs is always triggered by the parent. In combination with the speed adjustments of the child VHs, it is guaranteed that the formation is always maintained.
|
|
|
|
|
| ... | ... | |
| ... | ... | |