Search found 4 matches

by H7per
Sun Jan 22, 2023 4:42 am
Forum: General Bullet Physics Support and Feedback
Topic: extreme bouncing on btHeightfieldTerrainShape with small timesteps
Replies: 6
Views: 36933

Re: extreme bouncing on btHeightfieldTerrainShape with small timesteps

You see the #define of USE_HEIGHTFIELD_TRIANGLES is commented out. That looks like the logic you want to invoke: it replaces the contact normal with one that always points out of the triangle plane. I tried uncommenting this before with the .cpp added to my project, the code is being executed. This...
by H7per
Sat Jan 21, 2023 5:21 am
Forum: General Bullet Physics Support and Feedback
Topic: extreme bouncing on btHeightfieldTerrainShape with small timesteps
Replies: 6
Views: 36933

Re: extreme bouncing on btHeightfieldTerrainShape with small timesteps

I wonder if your problem isn't so much bad normals as it is interpenetration? This idea because I think the interpenetration resolution code can also introduce non-physical results that might look similar to glitches from bad normals. However, with such a small substep I doubt this could be the cas...
by H7per
Fri Jan 20, 2023 9:08 pm
Forum: General Bullet Physics Support and Feedback
Topic: extreme bouncing on btHeightfieldTerrainShape with small timesteps
Replies: 6
Views: 36933

Re: extreme bouncing on btHeightfieldTerrainShape with small timesteps

Is it really the edge normals? The sprung constraints between the fuselage and the wheels complicate matters. A quick way to verify it is caused by edge normals would be to have the box drag on a btStaticPlaneShape . If the problem goes away that would support the edge normals theory. I used a gian...
by H7per
Fri Jan 20, 2023 4:30 am
Forum: General Bullet Physics Support and Feedback
Topic: extreme bouncing on btHeightfieldTerrainShape with small timesteps
Replies: 6
Views: 36933

extreme bouncing on btHeightfieldTerrainShape with small timesteps

I am working on a flight simulation as a hobby project. I require suspension modelling, for which I need extreme mass ratios(small wheels vs a massive airplane). The way I approached this issue was by lowering the time step size to 1/1000th, however now that I started toying around with terrain, I d...