by Witek900 » Mon Sep 21, 2009 11:01 am
Box dimensions = [1, 1, 1]
Box mass = 100
Box inertia = [16.667, 16.667, 16.667]
Box linear damping = 0.01
Box angular damping = [0.01, 0.01, 0.01]
NewtonBodySetFreezeState(NB, 0);
NewtonBodySetAutoSleep(NB, 1);
Ground is tree collision
Box-Ground material properties:
Static friction = 0.64
Dynamic friction = 0.36
Elasticity = 0.09
Softesss = 0.1
I use these functions to set material's properties:
NewtonMaterialSetDefaultElasticity,
NewtonMaterialSetDefaultFriction,
NewtonMaterialSetDefaultSoftness,
NewtonMaterialSetDefaultCollidable
Box-Ground material = Box-Box material
Continuous collison mode = off
NewtonSetSolverModel(NewtonWorld, 0);
NewtonSetFrictionModel(NewtonWorld, 0);
NewtonSetPlatformArchitecture(NewtonWorld, 3);
NewtonSetMultiThreadSolverOnSingleIsland(NewtonWorld, 0);
NewtonSetThreadsCount(NewtonWorld, 4);
NewtonSetMinimumFrameRate(NewtonWorld, 60);
When i comment these lines above stack are stable. They move very slowly (but its acceptable)
Graviti acceleration = -9.81
World size
Min = [-1000, -1000, -1000]
Max = [1000, 1000, 1000]
Newton version - 2.09
OS - Windows Vista x64
Compiler - Delphi 7
Anything else?