feat : Vector3 int -> float, 이동시 int 캐스팅 제거, 프로그램 실행시 setting.json 추가
This commit is contained in:
@@ -125,8 +125,8 @@ public class DummyClients
|
||||
distance = hitWall ? 0f : distance - step;
|
||||
|
||||
// 정수 Vector3 갱신
|
||||
position.X = (int)MathF.Round(posX);
|
||||
position.Z = (int)MathF.Round(posZ);
|
||||
position.X = posX;
|
||||
position.Z = posZ;
|
||||
}
|
||||
|
||||
public void SendTransform()
|
||||
@@ -144,7 +144,7 @@ public class DummyClients
|
||||
Position = new Packet.Position
|
||||
{
|
||||
X = position.X,
|
||||
Y = 0, // 높이는 버린다.
|
||||
Y = -0.5f, // 높이는 버린다.
|
||||
Z = position.Z
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user