Search found 5 matches

by byte56
Sun Apr 14, 2013 10:51 pm
Forum: General Bullet Physics Support and Feedback
Topic: Retrieving raycast collision point from LocalRayResult
Replies: 1
Views: 1647

Re: Retrieving raycast collision point from LocalRayResult

A little old... but for you future visitors: You'll need the collisionObject, and the localShapeInfo. Depending on how you have things set up, you need to be able to access the TriangleIndexVertexArray object that defines your triangle mesh. I stored mine in my object, and use the collisionObject us...
by byte56
Thu Nov 29, 2012 6:00 pm
Forum: General Bullet Physics Support and Feedback
Topic: Body gets stuck floating after body below it is removed
Replies: 6
Views: 3952

Re: Body gets stuck floating after body below it is removed

Sorry, I neglected to mention that I tried setting the damping to 0 too. Yes, I'm sure it's caused by the overridden collision as well. But I just took the most basic example I could find and modified the portion that checks when there's something solid in the way. It checks against my terrain (body...
by byte56
Thu Nov 29, 2012 4:12 am
Forum: General Bullet Physics Support and Feedback
Topic: Body gets stuck floating after body below it is removed
Replies: 6
Views: 3952

Re: Body gets stuck floating after body below it is removed

Thanks for the reply. I've tried a few more things, still no luck. I do have the debug graphics turned on, and I see that body B is really being removed. Additionally, objects are able to fall right past the stuck object A, right through where body B was. So I'm fairly sure it's gone. I've also trie...
by byte56
Wed Nov 28, 2012 4:17 pm
Forum: General Bullet Physics Support and Feedback
Topic: Body gets stuck floating after body below it is removed
Replies: 6
Views: 3952

Re: Body gets stuck floating after body below it is removed

Bump after 8 days of no response. Thanks for any tips you can give.
by byte56
Tue Nov 20, 2012 11:32 pm
Forum: General Bullet Physics Support and Feedback
Topic: Body gets stuck floating after body below it is removed
Replies: 6
Views: 3952

Body gets stuck floating after body below it is removed

I have a physics body (A) that falls and settles on top of another body (B). Body B is then modified and no longer supporting body A. Body A continues to stay in the air. I've tried reactivating body A using activate(). I've tried setting it's linear velocity, it moves at first then slows like it's ...