Recover Grappler aim gating and implement verified ray constraint components
This commit is contained in:
1 parent
0c913d15aa
commit
ffea678e90
21 files changed
+1604
-16
No files matched your search
@@ -52,13 +52,13 @@ public static class GrapplerMotion
|
||||
|
||||
public static bool JumpDetaches(bool jumpHeld,bool fireHeld,bool attached)=>jumpHeld&&!fireHeld&&attached;
|
||||
|
||||
private static void Time(float value)
|
||||
internal static void Time(float value)
|
||||
{
|
||||
if(!float.IsFinite(value)||value<0||value>=1)throw new ArgumentOutOfRangeException(nameof(value));
|
||||
}
|
||||
private static void Finite(float value)
|
||||
internal static void Finite(float value)
|
||||
{
|
||||
if(!float.IsFinite(value))throw new ArgumentOutOfRangeException(nameof(value));
|
||||
}
|
||||
private static void Finite(Vector3 value){Finite(value.X);Finite(value.Y);Finite(value.Z);}
|
||||
internal static void Finite(Vector3 value){Finite(value.X);Finite(value.Y);Finite(value.Z);}
|
||||
}
|
||||
Reference in new issue
Block a user