Files
RCBASIC4/doc/doc_files/getsliderestitutionlimlin.html
2026-02-26 15:33:51 -06:00

24 lines
1.1 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css">
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
<title>GetSlideRestitutionLimLin [RCBasic Doc] </title>
</head>
<body>
<p><h2>Function GetSlideRestitutionLimLin( constraint_id) </h2></p>
<p>
Returns the restitution value for the linear limit of the constraint. This value controls how much energy is conserved (or how "bouncy" the interaction is) when the connected actors reach the linear limits of the slider constraint, which restricts the movement along the sliding axis.
</p>
<p>
Restitution is a measure of how much energy is retained after a collision or interaction. In this context, when the linear movement reaches the limits, restitution controls how much the actors "bounce" back. A restitution value of 0.0 means no bounce (the collision is perfectly inelastic), and 1.0 allows maximum bounce (the collision is perfectly elastic).
</p>
<br><p>Related:
<a href="setsliderestitutionlimlin.html">SetSlideRestitutionLimLin</a>
</p>
<p>
</p>
</body>
</html>