Updated Linear Spring.md (markdown)
commited
commit
a2448cff1a07f0229b287e8dbc6059ec8c2ce750
... | ... | @@ -1,9 +1,11 @@ |
1 | 1 | Makes the constraint springy, like a car's suspension. |
2 | 2 | |
3 | The [[linear limits]] constraint is necessary because it stores the upper and lower limits between which the objects can move. Adding a linear spring script makes the objects "spring" between these upper and lower limits. To find the perfect "stiffness" and "damping" values for your game, trying copying the ones above and then adjust them until you get the results you were looking for. |
|
4 | ||
3 | 5 | [[/uploads/Linearspring.png]] |
4 | 6 | |
7 | # Examples |
|
8 | ||
5 | 9 | Before this script will function as expected, a "linear limits" constraint must be applied to the same two objects. An image is shown below. |
6 | 10 | |
7 | 11 | [[/uploads/Linearspringexample.jpg]] |
8 | ||
9 | The [[linear limits]] constraint is necessary because it stores the upper and lower limits between which the objects can move. Adding a linear spring script makes the objects "spring" between these upper and lower limits. To find the perfect "stiffness" and "damping" values for your game, trying copying the ones above and then adjust them until you get the results you were looking for. |
|
... | ... | \ No newline at end of file |