Search found 11 matches

by Sauce
Tue Nov 09, 2010 8:08 am
Forum: Physics authoring tools, serialization, standards and related topics
Topic: problem loading mesh from .bullet file
Replies: 8
Views: 58537

Re: problem loading mesh from .bullet file

/offtopic: how are you exporting the mesh from 3dsmax? Last I checked the bullet plugins were only available for Maya.

If its not too much trouble would you also be able to confirm for me if this (clicky) is similar to the method you used?
by Sauce
Sat Nov 06, 2010 7:32 am
Forum: General Bullet Physics Support and Feedback
Topic: serializing / deserializing btBvhTriangleShape
Replies: 5
Views: 7965

Re: serializing / deserializing btBvhTriangleShape

I tried adding a rigid body to the physics world and serializing the world, but the mesh data still does not load correctly. Can someone verify whether or not this is valid data? (file attached) I had a look using the file inspector you linked me but the btVector3FloatData doesn't seem to be correct...
by Sauce
Wed Nov 03, 2010 9:27 am
Forum: General Bullet Physics Support and Feedback
Topic: serializing / deserializing btBvhTriangleShape
Replies: 5
Views: 7965

Re: serializing / deserializing btBvhTriangleShape

I don't understand - you yourself state in this thread that btCollisionShape::serialize() should be used for serializing a single shape. Is this no longer the case? If you choose to manually serialize individual collision shapes, you cannot use the btBulletWorldImporter to load the .bullet file. In...
by Sauce
Tue Nov 02, 2010 10:30 pm
Forum: General Bullet Physics Support and Feedback
Topic: serializing / deserializing btBvhTriangleShape
Replies: 5
Views: 7965

Re: serializing / deserializing btBvhTriangleShape

I don't understand - you yourself state in this thread that btCollisionShape::serialize() should be used for serializing a single shape. Is this no longer the case?
by Sauce
Tue Nov 02, 2010 1:58 pm
Forum: General Bullet Physics Support and Feedback
Topic: serializing / deserializing btBvhTriangleShape
Replies: 5
Views: 7965

serializing / deserializing btBvhTriangleShape

I'm writing a tool to convert an Ogre mesh file to a bullet file for use in our game. Problem is, I can't for the life of me get serializing / deserializing to work as expected; the triangle data produced is just plain wrong . I've been stepping through bullet all day long trying to find the cause, ...
by Sauce
Mon Jul 05, 2010 3:09 am
Forum: General Bullet Physics Support and Feedback
Topic: rotation not being simulated?
Replies: 2
Views: 3103

Re: rotation not being simulated?

forgive my insulence!

I forgot to calculate the local inertia as I created each body *facepalm*
by Sauce
Mon Jul 05, 2010 2:38 am
Forum: General Bullet Physics Support and Feedback
Topic: rotation not being simulated?
Replies: 2
Views: 3103

Re: rotation not being simulated?

if its any help this guy describes a similar problem (No rotation, even if he applies torque manually).

As far as I can tell his problem was also unsolved.
by Sauce
Sun Jul 04, 2010 4:17 am
Forum: General Bullet Physics Support and Feedback
Topic: rotation not being simulated?
Replies: 2
Views: 3103

rotation not being simulated?

I've been working with bullet for a few weeks now (on and off) with Ogre and I just cannot figure out for the life of me why no rotation is being simulated. Just translation. When I create a line of capsules (For testing purposes), each with a slight overlap, they spawn inside each other and then ju...
by Sauce
Mon Jun 21, 2010 12:12 am
Forum: General Bullet Physics Support and Feedback
Topic: btConeTwistConstraint rbAFrame and rbBFrame?
Replies: 1
Views: 2407

btConeTwistConstraint rbAFrame and rbBFrame?

I'm developing a ragdoll simulation in Ogre using a series of btCapsuleShapes as the bones. I've been able to succesfully construct the bone hierarchy from an Ogre::Skeleton, however I've been unable to find the correct method of connecting them. Bullet's ragdoll sample hasn't been very helpful, wit...
by Sauce
Fri Jun 04, 2010 12:20 pm
Forum: General Bullet Physics Support and Feedback
Topic: access violation in btCollisionWorld::updateSingleAabb
Replies: 2
Views: 5258

Re: access violation in btCollisionWorld::updateSingleAabb

nevermind, I was creating a plane and allocating the StaticPlaneShape on the stack and it went out of scope. I was under the impression that Bullet made a copy of the shape, apparently not!
by Sauce
Fri Jun 04, 2010 11:54 am
Forum: General Bullet Physics Support and Feedback
Topic: access violation in btCollisionWorld::updateSingleAabb
Replies: 2
Views: 5258

access violation in btCollisionWorld::updateSingleAabb

Hello! Unfortunately i'm enduring a bit of pain trying to use Bullet here... I'm getting an access violation inside of btCollisionWorld::updateSingleAABB on the line.. colObj->getCollisionShape()->getAabb(colObj->getWorldTransform(), minAabb,maxAabb); I've stepped into the function and it's crashing...