Search found 9 matches

by Badytheprogram
Mon Jan 14, 2019 3:52 pm
Forum: General Bullet Physics Support and Feedback
Topic: calculateLocalInertia crash with only btConvexHullShape
Replies: 6
Views: 4830

Re: calculateLocalInertia crash with only btConvexHullShape

To investigate further you're going to have to level up your debugging skills. Here is one way to do it: (1) Derive MyConvexHullShape from btConvexHullShape and use that instead. In that class: override the calculateLocalInertia() method which would be a straight copy of the implementation in btPol...
by Badytheprogram
Sun Jan 13, 2019 5:09 pm
Forum: General Bullet Physics Support and Feedback
Topic: In btDbvtBroadphase, why is deferred collide not on by default?
Replies: 2
Views: 2454

Re: In btDbvtBroadphase, why is deferred collide not on by default?

Hi. Maybe not the straigthest solution for your problem, but maybe help: A common solution for this in game programming, to reuse obejcts. Of course it's expensive to create objects, but if you once created, you can hide/show, reposition objects wery fast. When an object reached it's destinaion and ...
by Badytheprogram
Sat Jan 05, 2019 5:54 pm
Forum: General Bullet Physics Support and Feedback
Topic: How to control the GUI default camera
Replies: 3
Views: 3387

Re: How to control the GUI default camera

Maybe there is no default function in bulletPhysics for this, but maybe the 3d engine you use have. I recommed you search about that (If the engine don't have, you still can write one by yourself) and you can update programmatically the quaternion of the GUI camera by yourself.
by Badytheprogram
Fri Jan 04, 2019 4:55 pm
Forum: General Bullet Physics Support and Feedback
Topic: calculateLocalInertia crash with only btConvexHullShape
Replies: 6
Views: 4830

Re: calculateLocalInertia crash with only btConvexHullShape

Actually I use multithreading, with the SDL 2.0 thread library. This is one of the reasons why I rewrite my whole system. I didn't tought, this would be the problem, I read somewhere the Bt is threadsafe. I think I need to make some further research. You saved me a lot of headache, Thank you. Thanks...
by Badytheprogram
Thu Jan 03, 2019 7:45 pm
Forum: General Bullet Physics Support and Feedback
Topic: calculateLocalInertia crash with only btConvexHullShape
Replies: 6
Views: 4830

Re: calculateLocalInertia crash with only btConvexHullShape

Thanks for answering: In the configuration initial table looks like this: basic,testobj,platform1,entity,platform1node,basiccube.mesh,material,climbertexture,position,0,0,11, rotation,0,0,0,scale,1,1,1,showboundingbox,true,force,physics01,mass,1,activationtype,alwayson,restitution,1,hitboxtype,conve...
by Badytheprogram
Wed Jan 02, 2019 7:02 pm
Forum: General Bullet Physics Support and Feedback
Topic: Introduction
Replies: 2
Views: 2566

Re: Introduction

Good to know if you are out of scool, you don't deserve help.
by Badytheprogram
Wed Jan 02, 2019 5:53 pm
Forum: General Bullet Physics Support and Feedback
Topic: calculateLocalInertia crash with only btConvexHullShape
Replies: 6
Views: 4830

Re: calculateLocalInertia crash with only btConvexHullShape

I go trought all the posts with "btConvexHullShape" here and I didn't found anything. Compared it to a lot of tutorials what I found and all the codes seems good to me. I tried other objects, and tried all the "get" functions in the collisionshapes and they all did return valid d...
by Badytheprogram
Tue Jan 01, 2019 7:21 pm
Forum: General Bullet Physics Support and Feedback
Topic: need instructions to run bullet. please
Replies: 2
Views: 2623

Re: need instructions to run bullet. please

I don't know which 3d engine yo use ofr it, but I technicly take the btogre and take it apart to check how it work. I think you can do it with the tutorials, what you can found in the Examples folder. Or search tutorials on the internet like this one: https://www.raywenderlich.com/2606-bullet-physic...
by Badytheprogram
Mon Dec 31, 2018 1:42 am
Forum: General Bullet Physics Support and Feedback
Topic: calculateLocalInertia crash with only btConvexHullShape
Replies: 6
Views: 4830

calculateLocalInertia crash with only btConvexHullShape

Hi. I am working on my gamesystem, rewriting it to a better shape to be exact, and now I have a problem with the convex shape. fortunately there is no problem with the other shapes, but if I want to build a btConvexHullShape, a lots of time it crash when it reach the "collisionshape->calculateL...