static int _g_get_swapBodies(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); UnityEngine.ConfigurableJoint __cl_gen_to_be_invoked = (UnityEngine.ConfigurableJoint)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, __cl_gen_to_be_invoked.swapBodies); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int _g_get_angularYZDrive(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); UnityEngine.ConfigurableJoint __cl_gen_to_be_invoked = (UnityEngine.ConfigurableJoint)translator.FastGetCSObj(L, 1); translator.Push(L, __cl_gen_to_be_invoked.angularYZDrive); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int _s_set_configuredInWorldSpace(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); UnityEngine.ConfigurableJoint __cl_gen_to_be_invoked = (UnityEngine.ConfigurableJoint)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.configuredInWorldSpace = LuaAPI.lua_toboolean(L, 2); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _s_set_projectionAngle(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); UnityEngine.ConfigurableJoint __cl_gen_to_be_invoked = (UnityEngine.ConfigurableJoint)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.projectionAngle = (float)LuaAPI.lua_tonumber(L, 2); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _s_set_targetAngularVelocity(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); UnityEngine.ConfigurableJoint __cl_gen_to_be_invoked = (UnityEngine.ConfigurableJoint)translator.FastGetCSObj(L, 1); UnityEngine.Vector3 __cl_gen_value; translator.Get(L, 2, out __cl_gen_value); __cl_gen_to_be_invoked.targetAngularVelocity = __cl_gen_value; } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _s_set_linearLimitSpring(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); UnityEngine.ConfigurableJoint __cl_gen_to_be_invoked = (UnityEngine.ConfigurableJoint)translator.FastGetCSObj(L, 1); UnityEngine.SoftJointLimitSpring __cl_gen_value; translator.Get(L, 2, out __cl_gen_value); __cl_gen_to_be_invoked.linearLimitSpring = __cl_gen_value; } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }