1
This commit is contained in:
parent
e2bda53c7f
commit
83210e4e3c
@ -290,3 +290,8 @@ void Movement::AdjustLastPath(float distance)
|
||||
point.distance -= distance;
|
||||
point.tar_pos.FromGlmVec3(point.src_pos.ToGlmVec3() + point.dir * point.distance);
|
||||
}
|
||||
|
||||
bool Movement::MoveToPos(const glm::vec3& target_pos)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
@ -10,6 +10,7 @@ class Movement
|
||||
|
||||
bool UpdatePosition();
|
||||
void CalcTargetPos(float distance);
|
||||
bool MoveToPos(const glm::vec3& target_pos);
|
||||
void ClearPath();
|
||||
size_t GetPathSize();
|
||||
bool IsFindPath() { return is_find_path_; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user