Search found 6 matches

by javier_macross
Fri Jan 03, 2020 6:25 pm
Forum: General Bullet Physics Support and Feedback
Topic: 2 Problems with Raycast Vehicle
Replies: 7
Views: 4610

Re: 2 Problems with Raycast Vehicle

I begin to think that it is indeed a bug of the bullet library. (By the way I am using version 2.87, on GNU / Linux). When I compile the library, in the ForkLiftdemo, If I change the line 316: btVector3 groundExtents( 50 , 50, 50 ); For this one. btVector3 groundExtents( 1000 , 50, 1000 ); The wheel...
by javier_macross
Fri Jan 03, 2020 5:24 am
Forum: General Bullet Physics Support and Feedback
Topic: 2 Problems with Raycast Vehicle
Replies: 7
Views: 4610

Re: 2 Problems with Raycast Vehicle

Hello again. I just located the error in problem 2. It is quite curious but the ground defined it as follows. btCollisionShape *geom_suelo = new btBoxShape(btVector3(1000.0f/2.0f,0.1f/2.0f,1000.0f/2.0f)); btTransform transf_suelo; transf_suelo.setIdentity(); transf_suelo.setOrigin(btVector3(0.0,-0.0...
by javier_macross
Fri Jan 03, 2020 2:20 am
Forum: General Bullet Physics Support and Feedback
Topic: 2 Problems with Raycast Vehicle
Replies: 7
Views: 4610

Re: 2 Problems with Raycast Vehicle

First of all, thank you very much for using your valuable time to answer me. :mrgreen:

The second is that I will put into practice your great advice and shortly write an answer.

Thank you very much friend.
:P
by javier_macross
Thu Jan 02, 2020 12:40 am
Forum: General Bullet Physics Support and Feedback
Topic: 2 Problems with Raycast Vehicle
Replies: 7
Views: 4610

Re: 2 Problems with Raycast Vehicle

Does anyone know anything? Does anyone have this same problem? :cry:
by javier_macross
Wed Jan 01, 2020 2:50 am
Forum: General Bullet Physics Support and Feedback
Topic: 2 Problems with Raycast Vehicle
Replies: 7
Views: 4610

Re: 2 Problems with Raycast Vehicle

Hi, me again. I still can't find the solution for the problems. I have seen the forklift example and I have a doubt, The wheels need to have a body and a shape assigned? Because in the example I've seen that only its shape is defined, but I don't know what is done with this shape. Thanks for your he...
by javier_macross
Mon Dec 30, 2019 11:14 pm
Forum: General Bullet Physics Support and Feedback
Topic: 2 Problems with Raycast Vehicle
Replies: 7
Views: 4610

2 Problems with Raycast Vehicle

Hi. The first problem I have is that when I apply a force to the engine, doing this. if(key_press)velocidad = -2.0f; vehicle->applyEngineForce(velocidad,2); vehicle->applyEngineForce(velocidad,3); The problem is that I notice that the speed continues to increase and does not remain constant. Does an...