Constructor AutoDolly
AutoDolly(bool, float, int, int)
Constructor with specific field values
Declaration
public AutoDolly(bool enabled, float positionOffset, int searchRadius, int stepsPerSegment)
Parameters
Type | Name | Description |
---|---|---|
bool | enabled | Whether to enable automatic dolly |
float | positionOffset | Offset, in current position units, from the closest point on the path to the follow target |
int | searchRadius | Search up to this many waypoints on either side of the current position |
int | stepsPerSegment | We search between waypoints by dividing the segment into this many straight pieces |