1
This commit is contained in:
parent
9f37d85d24
commit
dce947c61f
@ -2913,8 +2913,8 @@ void Creature::ShotFindPath()
|
|||||||
glm::vec3 new_move_dir = GetMoveDir();
|
glm::vec3 new_move_dir = GetMoveDir();
|
||||||
GlmHelper::RotateY(new_move_dir, 90 / 180.0f);
|
GlmHelper::RotateY(new_move_dir, 90 / 180.0f);
|
||||||
{
|
{
|
||||||
glm::vec3 start;
|
glm::vec3 start = GetPos().ToGlmVec3() - GetMoveDir() * -1.0f * 2.0f;
|
||||||
glm::vec3 end;
|
glm::vec3 end = start + new_move_dir * 1.0f;
|
||||||
glm::vec3 hit_point;
|
glm::vec3 hit_point;
|
||||||
bool hit_result;
|
bool hit_result;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user