Fixed edged collision
This commit is contained in:
parent
2e974cef39
commit
555e1fd702
7
.idea/.idea.SpringJam2026/.idea/workspace.xml
generated
7
.idea/.idea.SpringJam2026/.idea/workspace.xml
generated
@ -5,12 +5,7 @@
|
|||||||
</component>
|
</component>
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="60468364-7d9c-427f-83f9-f6cd83ef8783" name="Changes" comment="">
|
<list default="true" id="60468364-7d9c-427f-83f9-f6cd83ef8783" name="Changes" comment="">
|
||||||
<change beforePath="$PROJECT_DIR$/.idea/.idea.SpringJam2026/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/.idea.SpringJam2026/.idea/workspace.xml" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/Assets/Scenes/Bootstrap.unity" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scenes/Bootstrap.unity" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/Assets/Scenes/Game.unity" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scenes/Game.unity" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/Assets/Scripts/Player/Movement.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scripts/Player/Movement.cs" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Scripts/Player/Movement.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scripts/Player/Movement.cs" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/Assets/Scripts/State/Game/GameRunningState.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scripts/State/Game/GameRunningState.cs" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/Assets/Scripts/State/Game/MainStateMachine.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scripts/State/Game/MainStateMachine.cs" afterDir="false" />
|
|
||||||
</list>
|
</list>
|
||||||
<option name="SHOW_DIALOG" value="false" />
|
<option name="SHOW_DIALOG" value="false" />
|
||||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||||
@ -141,7 +136,7 @@
|
|||||||
<updated>1777050991106</updated>
|
<updated>1777050991106</updated>
|
||||||
<workItem from="1777050993247" duration="19210000" />
|
<workItem from="1777050993247" duration="19210000" />
|
||||||
<workItem from="1777098508515" duration="3575000" />
|
<workItem from="1777098508515" duration="3575000" />
|
||||||
<workItem from="1777126978640" duration="18282000" />
|
<workItem from="1777126978640" duration="18671000" />
|
||||||
</task>
|
</task>
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
|
|||||||
@ -236,7 +236,7 @@ namespace Player
|
|||||||
foreach (var c in contacts)
|
foreach (var c in contacts)
|
||||||
{
|
{
|
||||||
var x = c.normal.x;
|
var x = c.normal.x;
|
||||||
if (Mathf.Abs(x) > 0.1f)
|
if (Mathf.Abs(x) > 0.8f)
|
||||||
{
|
{
|
||||||
_turnDelayTimer = 0f;
|
_turnDelayTimer = 0f;
|
||||||
if (!_autoDrive)
|
if (!_autoDrive)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user