Unit.setWhiskerData
Sets the whisker data for obstacle avoidance
Kind: Function
Environments: Game
Game
unit:setWhiskerData( whiskerCount, maxAngle, startLength, endLength )
Availability: Server only
Parameters:
| Name | Type | Description |
|---|---|---|
unit |
Unit | The unit. |
whiskerCount |
integer | The whiskerCount. |
maxAngle |
number | The maxAngle. |
startLength |
number | The startLength. |
endLength |
number | The endLength. |