mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-16 16:06:13 +08:00
Editing points and portals in navmesh, improved DX error message
This commit is contained in:
+6
-2
@@ -587,7 +587,7 @@ namespace CodeWalker
|
||||
}
|
||||
else if (NavPortal != null)
|
||||
{
|
||||
return Quaternion.Identity;
|
||||
return NavPortal.Orientation;
|
||||
}
|
||||
else if (PathNode != null)
|
||||
{
|
||||
@@ -634,7 +634,7 @@ namespace CodeWalker
|
||||
}
|
||||
else if (NavPortal != null)
|
||||
{
|
||||
return WidgetAxis.None;
|
||||
return WidgetAxis.Z;
|
||||
}
|
||||
else if (PathNode != null)
|
||||
{
|
||||
@@ -787,6 +787,10 @@ namespace CodeWalker
|
||||
{
|
||||
NavPoint.SetOrientation(newrot);
|
||||
}
|
||||
else if (NavPortal != null)
|
||||
{
|
||||
NavPortal.SetOrientation(newrot);
|
||||
}
|
||||
else if (Audio != null)
|
||||
{
|
||||
Audio.SetOrientation(newrot);
|
||||
|
||||
Reference in New Issue
Block a user