21 lines
378 B
Protocol Buffer
21 lines
378 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
|
||
|
|
||
|
import "Vector.proto";
|
||
|
import "MathQuaternion.proto";
|
||
|
|
||
|
message RoutePoint {
|
||
|
oneof move_params {
|
||
|
float velocity = 11;
|
||
|
float time = 12;
|
||
|
}
|
||
|
oneof rotate_params {
|
||
|
Vector rotation = 21;
|
||
|
MathQuaternion rotation_speed = 22;
|
||
|
MathQuaternion axis_speed = 23;
|
||
|
}
|
||
|
Vector position = 1;
|
||
|
float arrive_range = 2;
|
||
|
bool has_reach_event = 3;
|
||
|
}
|