[1.9.8] NaN Hingeconstant Bug
4 posts • Page 1 of 1
[1.9.8] NaN Hingeconstant Bug
With default hinges (hinges with Hingeconstant = NaN) there can appear some strange effects
I built an engine and suddenly the engine ran without any reason, changeing the const of some of the hinges helped
attached an example scene
I built an engine and suddenly the engine ran without any reason, changeing the const of some of the hinges helped
attached an example scene
- Attachments
-
NaNConstBugUP.phz- example
- (41.45 KiB) Downloaded 20 times
yup yup
yuuuuuuup
yupyupyupyupyupyupyupyupyyyuuuup
hm... signatures...
yuuuuuuup
yupyupyupyupyupyupyupyupyyyuuuup
hm... signatures...
- hiltropper
- Posts: 85
- Joined: Mon Dec 20, 2010 12:02 pm
- Location: Germany
Re: [1.9.8] NaN Hingeconstant Bug
Hmm, "Axle impulse" 's value changes when you press a...probably hinges give some kind of energy to the engine

-

PhunWars - Posts: 78
- Joined: Wed Dec 30, 2009 11:01 pm
Re: [1.9.8] NaN Hingeconstant Bug
This is related to viewtopic.php?f=11&t=4481
It is very difficult to optain both stiffness and stability - a compromise is always needed. In this case, lowering the default constraint strength from 1e8 to 1e7 N/m would suffice, but would make hinges weaker. Maybe it is a fair trade, though.
Please experiment with Sim.solveConstant, and see if there is a good value that does not cause instabilities, but that is reasonably stiff. 1e6 or 1e7 is probably around the desired values.
For reference, a hinge constant of 1e7 would make a hinge stretch about a milimeter for every 1000 kg it is loaded with.
It is very difficult to optain both stiffness and stability - a compromise is always needed. In this case, lowering the default constraint strength from 1e8 to 1e7 N/m would suffice, but would make hinges weaker. Maybe it is a fair trade, though.
Please experiment with Sim.solveConstant, and see if there is a good value that does not cause instabilities, but that is reasonably stiff. 1e6 or 1e7 is probably around the desired values.
For reference, a hinge constant of 1e7 would make a hinge stretch about a milimeter for every 1000 kg it is loaded with.
Emil Ernerfeldt, lead developer
- emilk
- Posts: 616
- Joined: Mon Aug 31, 2009 11:01 am
- Location: Umeå, Sweden
Re: [1.9.8] NaN Hingeconstant Bug
yes, i think it's okay that way
yup yup
yuuuuuuup
yupyupyupyupyupyupyupyupyyyuuuup
hm... signatures...
yuuuuuuup
yupyupyupyupyupyupyupyupyyyuuuup
hm... signatures...
- hiltropper
- Posts: 85
- Joined: Mon Dec 20, 2010 12:02 pm
- Location: Germany
4 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests



