Search found 25 matches
- Tue Mar 03, 2009 10:27 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Applying force in object's local space, rotation
- Replies: 3
- Views: 7323
Re: Applying force in direction that body faces - n00b question
I have partially fixed the problem with this code: btVector3 force = btVector3(mDirection.x, mDirection.y, mDirection.z); force = force.rotate(btVector3(0,1,0), -body->getOrientation().getAngle()); std::cout << force.getX() << ", " << force.getY() << ", " << force.getZ() << "...
- Tue Mar 03, 2009 9:18 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Ogre3D and Bullet...but not OgreBullet
- Replies: 2
- Views: 8463
Re: Ogre3D and Bullet...but not OgreBullet
Ah, thanks. that's perfect.
Kukanani
Kukanani
- Tue Mar 03, 2009 4:05 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Applying force in object's local space, rotation
- Replies: 3
- Views: 7323
Applying force in object's local space, rotation
Hi all, I'm a n00b here (although not with C++). I have a simple question. How can I apply force on a body relative to the direction the body's pointing? I tried doing this with rotate(), like so: btVector3 force = btVector3(moveX, moveY, moveZ); force = force.rotate(btVector3(0,1,0), body->getOrien...
- Sun Mar 01, 2009 7:34 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Using MotionState with CharacterController
- Replies: 6
- Views: 8464
Using MotionState with CharacterController
Hi all,
I'm basically using code that is copy-pasted from CharacterDemo. How can I set a motionState for my character? Is there a way to find a rigid body that is associated with the character controller, or how else should I do this?
Thanks,
Kukanani
I'm basically using code that is copy-pasted from CharacterDemo. How can I set a motionState for my character? Is there a way to find a rigid body that is associated with the character controller, or how else should I do this?
Thanks,
Kukanani
- Tue Feb 24, 2009 2:51 am
- Forum: General Bullet Physics Support and Feedback
- Topic: Ogre3D and Bullet...but not OgreBullet
- Replies: 2
- Views: 8463
Ogre3D and Bullet...but not OgreBullet
Hi all,
I would like to make my own integration of Bullet and Ogre3D. I was wondering what the best way to come at this would be. Should I just set my Ogre3D meshes to be at the same location as their respective Bullet body every render step? Or is there a better way?
Thanks,
Kukanani
I would like to make my own integration of Bullet and Ogre3D. I was wondering what the best way to come at this would be. Should I just set my Ogre3D meshes to be at the same location as their respective Bullet body every render step? Or is there a better way?
Thanks,
Kukanani
- Tue Feb 24, 2009 2:32 am
- Forum: General Bullet Physics Support and Feedback
- Topic: building with Codeblocks
- Replies: 3
- Views: 3175
Re: building with Codeblocks
Ha, yes, I just got this resolved, thanks to projectileman.
Just follow all his instructions to the letter and you can't go wrong.
Kukanani
Just follow all his instructions to the letter and you can't go wrong.
Kukanani
- Mon Feb 23, 2009 9:37 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Problem Building with Code::Blocks on Vista
- Replies: 12
- Views: 8337
Re: Problem Building with Code::Blocks on Vista
Adding those libraries did the trick.
Thanks a million for helping me to get this to work.
Kukanani
Thanks a million for helping me to get this to work.
Kukanani
- Sun Feb 22, 2009 11:51 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Problem Building with Code::Blocks on Vista
- Replies: 12
- Views: 8337
Re: Problem Building with Code::Blocks on Vista
Thanks for the help so far. I've gotten steps 1 and 2 done. I made a new project, and got it built fine...until linking. ..\OpenGL\GL_ShapeDrawer.h|68|warning: no newline at end of file| C:\gamedev\bullet-2.74\Demos\BasicDemo\main.cpp||In function `int main(int, char**)':| C:\gamedev\bullet-2.74\Dem...
- Sun Feb 22, 2009 9:32 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Problem Building with Code::Blocks on Vista
- Replies: 12
- Views: 8337
Re: Problem Building with Code::Blocks on Vista
Hi First of all, thanks for giving me that detailed explanation. Unfortunately, while building in step 1 I got these errors: ||=== BulletLib, Release ===| C:\gamedev\bullet-2.74\BulletLib\src\BulletCollision\CollisionDispatch\btConvexConvexAlgorithm.cpp||In constructor `btPerturbedContactResult::btP...
- Sun Feb 22, 2009 3:26 am
- Forum: General Bullet Physics Support and Feedback
- Topic: Problem Building with Code::Blocks on Vista
- Replies: 12
- Views: 8337
Problem Building with Code::Blocks on Vista
Hi all, I downloaded bullet-2.74-beta1 today, and tried to open and build the MSVC 8 Workspace files in Code::Blocks. All of the "lib" projects compile fine, but when I try to build any of the "app" projects, I get link errors. For example, here is my build output for appAllBulle...