Not sure if it helps, but I had similar issue while adding rigidbodies or performing setOrigin on separated threads than the one where simulation runs.
Once ensured these operations are enqueued and processed on same simulation thread, I hadn't any further crash
Search found 7 matches
- Wed Apr 14, 2021 11:29 am
- Forum: General Bullet Physics Support and Feedback
- Topic: Assertion in btSimulationIslandManagerMt::getIsland
- Replies: 2
- Views: 4768
- Mon Apr 12, 2021 7:43 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Hinge vehicle balance
- Replies: 3
- Views: 4607
Re: Hinge vehicle balance
After few attempts, I found a cheap but effective solution: - calculate the desired vertical alignment. - calculate the cross product with the actual vehicle alignment - apply a torque, modified by a configured value, with the vector calculated above btVector3 vehicleUp( _transform.getBasis()[0][Tra...
- Wed Mar 10, 2021 9:04 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Hinge vehicle balance
- Replies: 3
- Views: 4607
Re: Hinge vehicle balance
(a) artificially high gravity while vehicle is "on the road" --> more friction less sliding (b) suddenly reduced gravity when vehicle is "airborne" --> longer, slower jumps (c) suddenly increased inertia tensor when vehicle goes into a crash --> slower tumbling (d) suddenly intr...
- Tue Mar 09, 2021 8:38 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Hinge vehicle balance
- Replies: 3
- Views: 4607
Hinge vehicle balance
Hello, before my questions, let me spend a word of appreciation about this forum and the people that contribute to help with their answers. I'm implementing vehicles based on btHinge2Contraint . Throttle is simulated by btHinge2Contraint::setTargetVelocity on the wheel free axis. I'm finding quite c...
- Sun May 10, 2020 6:59 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Build 64bit Bullet .dll
- Replies: 2
- Views: 6877
Re: Build 64bit Bullet .dll
A quick way is to use vcpkg
https://github.com/Microsoft/vcpkg
https://docs.microsoft.com/en-us/cpp/bu ... ew=vs-2019
https://github.com/Microsoft/vcpkg
https://docs.microsoft.com/en-us/cpp/bu ... ew=vs-2019
- Mon Feb 03, 2020 11:32 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Improve grip feeling on hinge vehicle
- Replies: 2
- Views: 2728
Re: Improve grip feeling on hinge vehicle
Hi @drleviathan, thank you so much for the response, indeed you exactly pointed all the issues. 1) Corrected the differential steer angle calculation Before: https://www.youtube.com/watch?v=whVKgv2Ycoc After: https://www.youtube.com/watch?v=OacYf0EsvnY With the additional benefit to apply different ...
- Sun Feb 02, 2020 5:06 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Improve grip feeling on hinge vehicle
- Replies: 2
- Views: 2728
Improve grip feeling on hinge vehicle
Hello, I recently started to implement vehicle (tank) simple simulation starting from HingeVehicle demo. While I'm generally satisfied of the result, I still see, during turns, the movement is pretty inefficient. Here's a video to demonstrate: https://www.youtube.com/watch?v=PvbYnNukpUs I believe I ...