Torsion Spring
3 posts • Page 1 of 1
Torsion Spring
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?
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?
- darkfrei
- Posts: 1
- Joined: Fri Sep 19, 2014 1:06 pm
Re: Torsion Spring
Script for hinge motor.
You could get angle between objects and apply torque according to it.
You could get angle between objects and apply torque according to it.
Dream of Algodoo as game development engine...
-
Kilinich - [Best bug reporter 2010]
- Posts: 2098
- Joined: Mon Aug 31, 2009 8:27 pm
- Location: South Russia
Re: Torsion Spring
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)
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)
- Jimmyfisherman
- Posts: 18
- Joined: Thu Oct 02, 2014 9:20 pm
3 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 14 guests