34 lines
972 B
HTML
34 lines
972 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<link rel="stylesheet" href="style.css">
|
|
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
|
<title>getConeLimit [RCBasic Doc] </title>
|
|
</head>
|
|
|
|
<body>
|
|
<p><h2>function getConeLimit( constraint_id, limit_index) </h2></p>
|
|
<p>
|
|
Returns the angular limit associated with a specific degree of freedom in the cone constraint. This limit defines the range of motion allowed around a given axis (twist, swing1, or swing2) for the constrained actors.
|
|
</p>
|
|
<p>
|
|
limitIndex is an integer that indicates which limit to retrieve. It typically takes values corresponding to the type of limit:
|
|
</p>
|
|
<ul>
|
|
<li>
|
|
0: Limit for the twist axis.
|
|
</li>
|
|
<li>
|
|
1: Limit for the swing1 axis.
|
|
</li>
|
|
<li>
|
|
2: Limit for the swing2 axis.
|
|
</li>
|
|
</ul>
|
|
<p>
|
|
Returns value is the maximum angle or range allowed for the specified degree of freedom (twist, swing1, or swing2)
|
|
</p>
|
|
<p>
|
|
|
|
</body>
|
|
</html> |