Search found 3 matches

by gamersg
Thu May 16, 2019 7:56 am
Forum: General Bullet Physics Support and Feedback
Topic: RayTest randomly failing
Replies: 5
Views: 4340

Re: RayTest randomly failing

Thanks for testing If you see my log: S vec3(-5.087273, 0.000000, 39.472855) E vec3(-5.025157, 0.000000, 39.472855) Collided at -5.04925 1 39.4729 //Hit 1 S vec3(-5.099017, 0.000000, 39.472855) E vec3(-5.037612, 0.000000, 39.472855) Collided at- 5.04872 1 39.4729 //Hit 2 Hit1 and Hit2 have different...
by gamersg
Thu May 16, 2019 4:41 am
Forum: General Bullet Physics Support and Feedback
Topic: RayTest randomly failing
Replies: 5
Views: 4340

Re: RayTest randomly failing

Hi steven, thanks for offering your help. This is the box shape vec3(5.046927, 19.099869, 4.317809) This is the position quat(1.000000, {0.000000, 0.000000, 0.000000}) //orientation (w,x,y,z) vec3(0.000000, 0.000000, 40.000000) //position I am testing this on Ubuntu 18.04, will try on Windows later ...
by gamersg
Tue May 14, 2019 3:57 pm
Forum: General Bullet Physics Support and Feedback
Topic: RayTest randomly failing
Replies: 5
Views: 4340

RayTest randomly failing

I am new to bullet and am trying to perform raytests on simple box objects in my scene. Most of the time, the test succeeds but will randomly not detect a box. My setup code as follows void Game::initPhysics() { // Build the broadphase broadphase = new btDbvtBroadphase(); // Set up the collision con...