Skip to content

Commit

Permalink
增大碰撞检测的阈值
Browse files Browse the repository at this point in the history
  • Loading branch information
peng1999 committed Oct 6, 2019
1 parent 0e1a291 commit c040fc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Scripts/Scene/Play/Referee/Square.cs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public Square(Vector2D point1, Vector2D point2)
/// <summary>
/// 通过机器人中心与半径以及角度来构造机器人正方形
/// </summary>
public Square(Vector2D robotPosition, float angleInDegree = 0, float HRL = Const.Robot.HRL)
public Square(Vector2D robotPosition, float angleInDegree = 0, float HRL = 3.9341f)
{
float robotRadius = (float) (HRL * 1.414);

Expand Down

0 comments on commit c040fc1

Please sign in to comment.