|
@@ -38157,7 +38157,7 @@ return {
|
|
description = "Returns the DistanceJoint's spring parameters. Use this to control how fast the joint pulls the colliders back together at the distance limits.",
|
|
description = "Returns the DistanceJoint's spring parameters. Use this to control how fast the joint pulls the colliders back together at the distance limits.",
|
|
key = "DistanceJoint:getSpring",
|
|
key = "DistanceJoint:getSpring",
|
|
module = "lovr.physics",
|
|
module = "lovr.physics",
|
|
- notes = "Higher frequencies make the spring more stiff. When zero (the default), the spring is disabled and the limits will be as stiff as possible.\n\nThe damping ratio controls how quickly the oscillation slows down:\n\n- Undamped: Zero damping will cause the spring to oscillate forever. (Note that the spring may\n still lose a small amount of energy over time).\n- Underdamped: Damping less than one results in a system that is underdamped. The spring will\n oscillate around the target, but the oscillations will decay over time, eventually stabilizing\n at the target.\n- Overdamped: Damping greater than one will not have any oscillation, and the spring will take\n extra time to reach the target.\n- Critical Damping: When the damping is exactly 1.0, there is no oscillation and the spring\n takes the minimum amount of time to reach the target (based on the frequency).\n\nThe default damping ratio is zero.",
|
|
|
|
|
|
+ notes = "Higher frequencies make the spring more stiff. When zero (the default), the spring is disabled and the limits will be as stiff as possible.\n\nThe damping ratio controls how quickly the oscillation slows down:\n\n- Undamped: Zero damping will cause the spring to oscillate forever. (Note that the spring may\n still lose a small amount of energy over time).\n- Underdamped: Damping less than one results in a system that is underdamped. The spring will\n oscillate around the target, but the oscillations will decay over time, eventually stabilizing\n at the target.\n- Overdamped: Damping greater than one will not have any oscillation, and the spring will take\n extra time to reach the target.\n- Critical Damping: When the damping is exactly 1.0, there is no oscillation and the spring\n takes the minimum amount of time to reach the target (based on the frequency).\n\nThe default damping ratio is 1.",
|
|
variants = {
|
|
variants = {
|
|
{
|
|
{
|
|
arguments = {},
|
|
arguments = {},
|
|
@@ -38214,7 +38214,7 @@ return {
|
|
description = "Sets the DistanceJoint's spring parameters. Use this to control how fast the joint pulls the colliders back together at the distance limits.",
|
|
description = "Sets the DistanceJoint's spring parameters. Use this to control how fast the joint pulls the colliders back together at the distance limits.",
|
|
key = "DistanceJoint:setSpring",
|
|
key = "DistanceJoint:setSpring",
|
|
module = "lovr.physics",
|
|
module = "lovr.physics",
|
|
- notes = "Higher frequencies make the spring more stiff. When zero (the default), the spring is disabled and the limits will be as stiff as possible.\n\nThe damping ratio controls how quickly the oscillation slows down:\n\n- Undamped: Zero damping will cause the spring to oscillate forever. (Note that the spring may\n still lose a small amount of energy over time).\n- Underdamped: Damping less than one results in a system that is underdamped. The spring will\n oscillate around the target, but the oscillations will decay over time, eventually stabilizing\n at the target.\n- Overdamped: Damping greater than one will not have any oscillation, and the spring will take\n extra time to reach the target.\n- Critical Damping: When the damping is exactly 1.0, there is no oscillation and the spring\n takes the minimum amount of time to reach the target (based on the frequency).\n\nThe default damping ratio is zero.",
|
|
|
|
|
|
+ notes = "Higher frequencies make the spring more stiff. When zero (the default), the spring is disabled and the limits will be as stiff as possible.\n\nThe damping ratio controls how quickly the oscillation slows down:\n\n- Undamped: Zero damping will cause the spring to oscillate forever. (Note that the spring may\n still lose a small amount of energy over time).\n- Underdamped: Damping less than one results in a system that is underdamped. The spring will\n oscillate around the target, but the oscillations will decay over time, eventually stabilizing\n at the target.\n- Overdamped: Damping greater than one will not have any oscillation, and the spring will take\n extra time to reach the target.\n- Critical Damping: When the damping is exactly 1.0, there is no oscillation and the spring\n takes the minimum amount of time to reach the target (based on the frequency).",
|
|
variants = {
|
|
variants = {
|
|
{
|
|
{
|
|
arguments = {
|
|
arguments = {
|
|
@@ -38489,7 +38489,7 @@ return {
|
|
description = "Returns the spring parameters of the HingeJoint. Use this to make the angle limits of the hinge \"soft\". When the motor is active, a separate set of spring parameters can be set on the motor, see `HingeJoint:setMotorSpring`.",
|
|
description = "Returns the spring parameters of the HingeJoint. Use this to make the angle limits of the hinge \"soft\". When the motor is active, a separate set of spring parameters can be set on the motor, see `HingeJoint:setMotorSpring`.",
|
|
key = "HingeJoint:getSpring",
|
|
key = "HingeJoint:getSpring",
|
|
module = "lovr.physics",
|
|
module = "lovr.physics",
|
|
- notes = "Higher frequencies make the spring more stiff. When zero (the default), the spring is disabled and the limits will be as stiff as possible.\n\nThe damping ratio controls how quickly the oscillation slows down:\n\n- Undamped: Zero damping will cause the spring to oscillate forever. (Note that the spring may\n still lose a small amount of energy over time).\n- Underdamped: Damping less than one results in a system that is underdamped. The spring will\n oscillate around the target, but the oscillations will decay over time, eventually stabilizing\n at the target.\n- Overdamped: Damping greater than one will not have any oscillation, and the spring will take\n extra time to reach the target.\n- Critical Damping: When the damping is exactly 1.0, there is no oscillation and the spring\n takes the minimum amount of time to reach the target (based on the frequency).\n\nThe default damping ratio is zero.",
|
|
|
|
|
|
+ notes = "Higher frequencies make the spring more stiff. When zero (the default), the spring is disabled and the limits will be as stiff as possible.\n\nThe damping ratio controls how quickly the oscillation slows down:\n\n- Undamped: Zero damping will cause the spring to oscillate forever. (Note that the spring may\n still lose a small amount of energy over time).\n- Underdamped: Damping less than one results in a system that is underdamped. The spring will\n oscillate around the target, but the oscillations will decay over time, eventually stabilizing\n at the target.\n- Overdamped: Damping greater than one will not have any oscillation, and the spring will take\n extra time to reach the target.\n- Critical Damping: When the damping is exactly 1.0, there is no oscillation and the spring\n takes the minimum amount of time to reach the target (based on the frequency).\n\nThe default damping ratio is 1.",
|
|
related = {
|
|
related = {
|
|
"HingeJoint:getMotorSpring",
|
|
"HingeJoint:getMotorSpring",
|
|
"HingeJoint:setMotorSpring"
|
|
"HingeJoint:setMotorSpring"
|
|
@@ -38684,7 +38684,7 @@ return {
|
|
description = "Sets the spring parameters of the HingeJoint. Use this to make the angle limits of the hinge \"soft\". When the motor is active, a separate set of spring parameters can be set on the motor, see `HingeJoint:setMotorSpring`.",
|
|
description = "Sets the spring parameters of the HingeJoint. Use this to make the angle limits of the hinge \"soft\". When the motor is active, a separate set of spring parameters can be set on the motor, see `HingeJoint:setMotorSpring`.",
|
|
key = "HingeJoint:setSpring",
|
|
key = "HingeJoint:setSpring",
|
|
module = "lovr.physics",
|
|
module = "lovr.physics",
|
|
- notes = "Higher frequencies make the spring more stiff. When zero (the default), the spring is disabled and the limits will be as stiff as possible.\n\nThe damping ratio controls how quickly the oscillation slows down:\n\n- Undamped: Zero damping will cause the spring to oscillate forever. (Note that the spring may\n still lose a small amount of energy over time).\n- Underdamped: Damping less than one results in a system that is underdamped. The spring will\n oscillate around the target, but the oscillations will decay over time, eventually stabilizing\n at the target.\n- Overdamped: Damping greater than one will not have any oscillation, and the spring will take\n extra time to reach the target.\n- Critical Damping: When the damping is exactly 1.0, there is no oscillation and the spring\n takes the minimum amount of time to reach the target (based on the frequency).\n\nThe default damping ratio is zero.",
|
|
|
|
|
|
+ notes = "Higher frequencies make the spring more stiff. When zero (the default), the spring is disabled and the limits will be as stiff as possible.\n\nThe damping ratio controls how quickly the oscillation slows down:\n\n- Undamped: Zero damping will cause the spring to oscillate forever. (Note that the spring may\n still lose a small amount of energy over time).\n- Underdamped: Damping less than one results in a system that is underdamped. The spring will\n oscillate around the target, but the oscillations will decay over time, eventually stabilizing\n at the target.\n- Overdamped: Damping greater than one will not have any oscillation, and the spring will take\n extra time to reach the target.\n- Critical Damping: When the damping is exactly 1.0, there is no oscillation and the spring\n takes the minimum amount of time to reach the target (based on the frequency).",
|
|
related = {
|
|
related = {
|
|
"HingeJoint:getMotorSpring",
|
|
"HingeJoint:getMotorSpring",
|
|
"HingeJoint:setMotorSpring"
|
|
"HingeJoint:setMotorSpring"
|
|
@@ -40243,7 +40243,7 @@ return {
|
|
description = "Returns the spring parameters of the SliderJoint. Use this to make the position limits of the slider \"soft\". When the motor is active, a separate set of spring parameters can be set on the motor, see `SliderJoint:setMotorSpring`.",
|
|
description = "Returns the spring parameters of the SliderJoint. Use this to make the position limits of the slider \"soft\". When the motor is active, a separate set of spring parameters can be set on the motor, see `SliderJoint:setMotorSpring`.",
|
|
key = "SliderJoint:getSpring",
|
|
key = "SliderJoint:getSpring",
|
|
module = "lovr.physics",
|
|
module = "lovr.physics",
|
|
- notes = "Higher frequencies make the spring more stiff. When zero (the default), the spring is disabled and the limits will be as stiff as possible.\n\nThe damping ratio controls how quickly the oscillation slows down:\n\n- Undamped: Zero damping will cause the spring to oscillate forever. (Note that the spring may\n still lose a small amount of energy over time).\n- Underdamped: Damping less than one results in a system that is underdamped. The spring will\n oscillate around the target, but the oscillations will decay over time, eventually stabilizing\n at the target.\n- Overdamped: Damping greater than one will not have any oscillation, and the spring will take\n extra time to reach the target.\n- Critical Damping: When the damping is exactly 1.0, there is no oscillation and the spring\n takes the minimum amount of time to reach the target (based on the frequency).\n\nThe default damping ratio is zero.",
|
|
|
|
|
|
+ notes = "Higher frequencies make the spring more stiff. When zero (the default), the spring is disabled and the limits will be as stiff as possible.\n\nThe damping ratio controls how quickly the oscillation slows down:\n\n- Undamped: Zero damping will cause the spring to oscillate forever. (Note that the spring may\n still lose a small amount of energy over time).\n- Underdamped: Damping less than one results in a system that is underdamped. The spring will\n oscillate around the target, but the oscillations will decay over time, eventually stabilizing\n at the target.\n- Overdamped: Damping greater than one will not have any oscillation, and the spring will take\n extra time to reach the target.\n- Critical Damping: When the damping is exactly 1.0, there is no oscillation and the spring\n takes the minimum amount of time to reach the target (based on the frequency).\n\nThe default damping ratio is 1.",
|
|
related = {
|
|
related = {
|
|
"SliderJoint:getMotorSpring",
|
|
"SliderJoint:getMotorSpring",
|
|
"SliderJoint:setMotorSpring"
|
|
"SliderJoint:setMotorSpring"
|
|
@@ -40438,7 +40438,7 @@ return {
|
|
description = "Sets the spring parameters of the SliderJoint. Use this to make the position limits of the slider \"soft\". When the motor is active, a separate set of spring parameters can be set on the motor, see `SliderJoint:setMotorSpring`.",
|
|
description = "Sets the spring parameters of the SliderJoint. Use this to make the position limits of the slider \"soft\". When the motor is active, a separate set of spring parameters can be set on the motor, see `SliderJoint:setMotorSpring`.",
|
|
key = "SliderJoint:setSpring",
|
|
key = "SliderJoint:setSpring",
|
|
module = "lovr.physics",
|
|
module = "lovr.physics",
|
|
- notes = "Higher frequencies make the spring more stiff. When zero (the default), the spring is disabled and the limits will be as stiff as possible.\n\nThe damping ratio controls how quickly the oscillation slows down:\n\n- Undamped: Zero damping will cause the spring to oscillate forever. (Note that the spring may\n still lose a small amount of energy over time).\n- Underdamped: Damping less than one results in a system that is underdamped. The spring will\n oscillate around the target, but the oscillations will decay over time, eventually stabilizing\n at the target.\n- Overdamped: Damping greater than one will not have any oscillation, and the spring will take\n extra time to reach the target.\n- Critical Damping: When the damping is exactly 1.0, there is no oscillation and the spring\n takes the minimum amount of time to reach the target (based on the frequency).\n\nThe default damping ratio is zero.",
|
|
|
|
|
|
+ notes = "Higher frequencies make the spring more stiff. When zero (the default), the spring is disabled and the limits will be as stiff as possible.\n\nThe damping ratio controls how quickly the oscillation slows down:\n\n- Undamped: Zero damping will cause the spring to oscillate forever. (Note that the spring may\n still lose a small amount of energy over time).\n- Underdamped: Damping less than one results in a system that is underdamped. The spring will\n oscillate around the target, but the oscillations will decay over time, eventually stabilizing\n at the target.\n- Overdamped: Damping greater than one will not have any oscillation, and the spring will take\n extra time to reach the target.\n- Critical Damping: When the damping is exactly 1.0, there is no oscillation and the spring\n takes the minimum amount of time to reach the target (based on the frequency).",
|
|
related = {
|
|
related = {
|
|
"SliderJoint:getMotorSpring",
|
|
"SliderJoint:getMotorSpring",
|
|
"SliderJoint:setMotorSpring"
|
|
"SliderJoint:setMotorSpring"
|