GetReactionForce() public method

public GetReactionForce ( float timeStep ) : Vector2
timeStep float
return Vector2
Exemplo n.º 1
0
 static public int GetReactionForce(IntPtr l)
 {
     try{
         UnityEngine.DistanceJoint2D self = (UnityEngine.DistanceJoint2D)checkSelf(l);
         System.Single a1;
         checkType(l, 2, out a1);
         UnityEngine.Vector2 ret = self.GetReactionForce(a1);
         pushValue(l, ret);
         return(1);
     }
     catch (Exception e) {
         LuaDLL.luaL_error(l, e.ToString());
         return(0);
     }
 }
 static public int GetReactionForce(IntPtr l)
 {
     try {
         UnityEngine.DistanceJoint2D self = (UnityEngine.DistanceJoint2D)checkSelf(l);
         System.Single a1;
         checkType(l, 2, out a1);
         var ret = self.GetReactionForce(a1);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }