GetReactionTorque() public method

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