A place to discuss everything related to Newton Dynamics.
Moderators: Sascha Willems, walaber
by nathanf534 » Mon Jul 12, 2010 9:16 pm
Why was this deprecated in 2.0?
Some of my objects are freezing too soon, and I need to decrease the threshold, but now I can't.
-
nathanf534
-
- Posts: 19
- Joined: Sun Jul 11, 2010 9:01 am
by Julio Jerez » Mon Jul 12, 2010 10:28 pm
the value is amost zero, what are you doing?
-
Julio Jerez
- Moderator

-
- Posts: 12480
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by JernejL » Tue Jul 13, 2010 6:50 am
newton 2.0 uses NewtonBodySetAutoSleep, but i don't know what that one does, as julio hasn't documented it yet, but i assume it works identically.
Btw, in newton 2.0 you don't need to manually unfreeze bodies anymore, any suffucuent force in forcetorque callback will unfreeze it automaticly.
-

JernejL
-
- Posts: 1588
- Joined: Mon Dec 06, 2004 2:00 pm
- Location: Slovenia
-
by nathanf534 » Tue Jul 13, 2010 8:34 am
the value is amost zero, what are you doing?
I am rotating a spaceship. Once it starts to slowly rotate, it suddenly stops because of the freezeThreshold, and is very noticable.
-
nathanf534
-
- Posts: 19
- Joined: Sun Jul 11, 2010 9:01 am
by Julio Jerez » Tue Jul 13, 2010 10:25 am
you can set auto sleep to zero and it will never stops.
then you set it back on when you deside it to put back on.
-
Julio Jerez
- Moderator

-
- Posts: 12480
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by cgpauli » Wed Jul 14, 2010 2:47 am
thats exactly the same problem i am experiencing! disabling autosleep was no solution for me because it seems to result in omega not getting smaller than the treshold no matter what forces applied

! I wrote about it in this thread:
http://newtondynamics.com/forum/viewtopic.php?f=9&t=5964
-
cgpauli
-
- Posts: 10
- Joined: Mon Jul 12, 2010 4:09 am
by Julio Jerez » Wed Jul 14, 2010 6:46 am
but if you take care of teh damp youselt I do not the the value will do what you do to it, teh engine only aiulate object whn eteh are is contact with othe objects, when they are free it just integrate them.
do you havea test to demostratr this?
-
Julio Jerez
- Moderator

-
- Posts: 12480
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
Return to General Discussion
Who is online
Users browsing this forum: No registered users and 1 guest