Search found 24 matches

by maiklof
Wed Sep 24, 2014 5:16 am
Forum: General Bullet Physics Support and Feedback
Topic: setLinearVelocity and Static objects
Replies: 12
Views: 10838

Re: setLinearVelocity and Static objects

I´ve tried to setLinearVelocity() before each world step, but it does not fix it... I think that been able to make surfaces behave as conveyor belts can be a nice feature, for both static and dynamic objects, and it would be nice to be able to do it just calling one method... But I think I have to c...
by maiklof
Mon Sep 22, 2014 8:27 pm
Forum: General Bullet Physics Support and Feedback
Topic: setLinearVelocity and Static objects
Replies: 12
Views: 10838

Re: setLinearVelocity and Static objects

Summary: From r2534 to r2335 a change was made to 'improve handling of restitution by using the velocity (linear/angular) before applying forces: this is done by re-introducing the btSolverBody and only apply the forces to solver body, and use the original rigid body velocity for restitution computa...
by maiklof
Mon Sep 22, 2014 6:36 pm
Forum: General Bullet Physics Support and Feedback
Topic: setLinearVelocity and Static objects
Replies: 12
Views: 10838

Re: setLinearVelocity and Static objects

Ok, now I know it is something that happened between r2534 and r2535... There are around 15 modified files, but I will try to find the one causing the issue...
by maiklof
Mon Sep 22, 2014 4:00 pm
Forum: General Bullet Physics Support and Feedback
Topic: setLinearVelocity and Static objects
Replies: 12
Views: 10838

Re: setLinearVelocity and Static objects

Thanks again Basroil!
I have never used GIT, but what you say makes sense and seems easy, so I will try it. I will update the post if I find what caused the issue...
by maiklof
Sat Sep 20, 2014 12:52 pm
Forum: General Bullet Physics Support and Feedback
Topic: setLinearVelocity and Static objects
Replies: 12
Views: 10838

Re: setLinearVelocity and Static objects

Hi Basroil, Yes, as I said, it works in 2.79 but not in 2.81 and 2.82... Any idea where in the code this can be implemented... Still the question is if the feature has been removed or is just a bug... I've tried to find out by myself, but as you said, there are too many changes and the code is not c...
by maiklof
Thu Sep 18, 2014 4:57 am
Forum: General Bullet Physics Support and Feedback
Topic: setLinearVelocity and Static objects
Replies: 12
Views: 10838

Re: setLinearVelocity and Static objects

No Basroil, there are several post about it: http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=2805&start=0 http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&p=21441#p21441 I've been doing it using the friction direction an a contact Callback, but I wanted to try this too...
by maiklof
Wed Sep 17, 2014 6:47 am
Forum: General Bullet Physics Support and Feedback
Topic: setLinearVelocity and Static objects
Replies: 12
Views: 10838

Re: setLinearVelocity and Static objects

Hi again,
I've been testing with older versions and it seems to work in version 2.79, but not in 2.81. I would like to know if it has been removed (if is so, why?) or is just a bug.
by maiklof
Wed Sep 17, 2014 6:04 am
Forum: General Bullet Physics Support and Feedback
Topic: setLinearVelocity and Static objects
Replies: 12
Views: 10838

setLinearVelocity and Static objects

Hi, I´ve read in old threads that it was possible to simulate a conveyor belt just by creating a static object and setting setLinearVelocity to it before each simulation step. I have tried to reproduce it by modifying the HelloWorld demo from Bullet 2.82, but it does not seem to work. Has this funct...
by maiklof
Wed Nov 20, 2013 10:34 am
Forum: General Bullet Physics Support and Feedback
Topic: Problems with CustomMaterialcombinerCallback
Replies: 2
Views: 5230

Problems with CustomMaterialcombinerCallback

Hi, I have created the CustomMaterialcombinerCallback and CustomMaterial class in order to be able to simulate conveyor belts. The idea is to attach the custom material object as userpointer on those collision objects I want to behave as conveyors. But I have some issues: 1 - This does not work if I...