Search found 8 matches

by haxmny
Mon Aug 17, 2015 7:24 pm
Forum: General Bullet Physics Support and Feedback
Topic: Help getting btRaycastVehicle working
Replies: 0
Views: 3358

Help getting btRaycastVehicle working

Hi all, I'm trying to get a simple demo of the btRaycastVehicle class working. i've followed the Forklift example as closely as I can, but I can't get the vehicle to move. I've included a minimal example of what I'm trying to do at the end of this post. First, I create a typical DyanimcsWorld, addin...
by haxmny
Thu Jul 16, 2015 7:05 pm
Forum: General Bullet Physics Support and Feedback
Topic: How can I specify a coordinate system for btRaycastVehicle?
Replies: 0
Views: 3437

How can I specify a coordinate system for btRaycastVehicle?

I'm looking to add a btRaycastVehicle to my world, where x is forward, y is left, and z is up. The parameters for btRaycastvehicle::setCoordinateSystem are undocumented, so I don't know how to specify this coordinate system. Additionally, I found this thread from 5 years ago describing some inherent...
by haxmny
Thu Jul 16, 2015 2:09 pm
Forum: General Bullet Physics Support and Feedback
Topic: How can I increase the physical realism of my simulation?
Replies: 11
Views: 10930

Re: How can I increase the physical realism of my simulation

Considering this question hasn't gotten much attention in the past couple days, I've switched to using the standard 1/60 time-step for the time being. Should I file a bug report somewhere related to this? I'm not a graphics/games person, so I'm unfamiliar with the methods bullet uses internally.
by haxmny
Fri Jul 10, 2015 1:02 pm
Forum: General Bullet Physics Support and Feedback
Topic: How can I increase the physical realism of my simulation?
Replies: 11
Views: 10930

Re: How can I increase the physical realism of my simulation

I just tried 0.1, 0.01, 0.001, and 0.00001 for m_erp and m_erp2 and it doesn't change anything. Is there any information on the meaning or use of the parameters in the struct returned by getSolverInfo? There are some parameters there that I'm not really sure what they do, but can't find any info on ...
by haxmny
Thu Jul 09, 2015 7:30 pm
Forum: General Bullet Physics Support and Feedback
Topic: How can I increase the physical realism of my simulation?
Replies: 11
Views: 10930

Re: How can I increase the physical realism of my simulation

I tried switching to the Dantzig solver, with limited success. When restitution is set to 1, nothing changes between the two solvers. When set to the original restitutions of 0.5 for the static plane and 0.9 for the ball, the higher frequency simulation still sticks to the ground but the lower frequ...
by haxmny
Thu Jul 09, 2015 1:43 pm
Forum: General Bullet Physics Support and Feedback
Topic: How can I increase the physical realism of my simulation?
Replies: 11
Views: 10930

Re: How can I increase the physical realism of my simulation

Hmm, interesting post Ehsanizadi. In the mean time I'll try some of the other solvers and see if altering parameters makes much of a difference.
by haxmny
Wed Jul 08, 2015 4:44 pm
Forum: General Bullet Physics Support and Feedback
Topic: How can I increase the physical realism of my simulation?
Replies: 11
Views: 10930

Re: How can I increase the physical realism of my simulation

I added these lines to the constructor after setting gravity

Code: Select all

world->getSolverInfo().m_splitImpulse = true;
world->getSolverInfo().m_splitImpulsePenetrationThreshold = -0.000001;
world->getSolverInfo().m_splitImpulseTurnErp = 1.0;
And am using double precision, the plots look the same.
by haxmny
Wed Jul 08, 2015 12:35 pm
Forum: General Bullet Physics Support and Feedback
Topic: How can I increase the physical realism of my simulation?
Replies: 11
Views: 10930

How can I increase the physical realism of my simulation?

I'm working on a physically based offline simulator with Bullet. My priority is physical realism; performance is a non-issue. I ran into some interesting effects when trying to decrease my simulation time step from 0.01s to 0.001s, namely that collisions stick rather than bounce. At the bottom is a ...