Page 1 of 1

Torsion Spring

PostPosted: Fri Sep 19, 2014 1:51 pm
by darkfrei
I have a Torsion spring with variable spring rate.
0° - 0 Nm
5° - 102 Nm
10° - 260 Nm
15° - 475 Nm, and done 745, 1070,
And by 30° I have1450 Nm and end of curve.

How to make it in Algodoo?

Re: Torsion Spring

PostPosted: Mon Sep 22, 2014 8:23 pm
by Kilinich
Script for hinge motor.
You could get angle between objects and apply torque according to it.

Re: Torsion Spring

PostPosted: Thu Oct 02, 2014 9:26 pm
by Jimmyfisherman
Maybe you could use a bend hinge.
In the script menu for the axle:
bend = true
bendConstant = (Enter a value for the strength in Newton Meters)
bendTarget = (Enter a value in radians for where the hinge tries to move. This is like Target Length)
motorTorque = +inf (This keeps the hinge from slipping while it is being bent. Lowering this value makes it act like a spring and a hinge at the same time)