Search found 7 matches

by Killpippo
Wed Apr 14, 2021 11:29 am
Forum: General Bullet Physics Support and Feedback
Topic: Assertion in btSimulationIslandManagerMt::getIsland
Replies: 2
Views: 4762

Re: Assertion in btSimulationIslandManagerMt::getIsland

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
by Killpippo
Mon Apr 12, 2021 7:43 pm
Forum: General Bullet Physics Support and Feedback
Topic: Hinge vehicle balance
Replies: 3
Views: 4598

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...
by Killpippo
Wed Mar 10, 2021 9:04 pm
Forum: General Bullet Physics Support and Feedback
Topic: Hinge vehicle balance
Replies: 3
Views: 4598

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...
by Killpippo
Tue Mar 09, 2021 8:38 pm
Forum: General Bullet Physics Support and Feedback
Topic: Hinge vehicle balance
Replies: 3
Views: 4598

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...
by Killpippo
Mon Feb 03, 2020 11:32 pm
Forum: General Bullet Physics Support and Feedback
Topic: Improve grip feeling on hinge vehicle
Replies: 2
Views: 2727

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 ...
by Killpippo
Sun Feb 02, 2020 5:06 pm
Forum: General Bullet Physics Support and Feedback
Topic: Improve grip feeling on hinge vehicle
Replies: 2
Views: 2727

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 ...