Login

Fancade Wiki

Updated Linear Spring.md (markdown)

... ...
@@ -1,3 +1,9 @@
1 1
Makes the constraint springy, like a car's suspension.
2 2
3
[[/uploads/Linearspring.png]]
... ...
\ No newline at end of file
0
[[/uploads/Linearspring.png]]
1
2
Before this script will function as expected, a "linear limits" constraint must be applied to the same two objects. An image is shown below.
3
4
[[/uploads/Linearspringexample.jpg]]
5
6
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
Fancade Wiki