BTRandomWait
Inherits: BTAction < BTTask < BT
BT action that waits for a randomized duration to elapse and then returns SUCCESS.
Description
BTRandomWait action waits for a randomized duration to elapse and then returns SUCCESS. The duration is randomized within the specified range, defined by min_duration and max_duration.
Properties
|
|
|
|
|
Property Descriptions
float max_duration = 2.0 🔗
void set_max_duration(value:
float)floatget_max_duration()
Maximum duration for the wait.
float min_duration = 1.0 🔗
void set_min_duration(value:
float)floatget_min_duration()
Minimum duration for the wait.