Search found 8 matches

by PgrAm
Tue Jan 22, 2013 12:19 am
Forum: General Bullet Physics Support and Feedback
Topic: my explosion code causes game to crash
Replies: 0
Views: 2474

my explosion code causes game to crash

I wrote some code to create an explosion and I seem to be having some trouble with it. When it is used it causes the game to crash. I assumed this was because I was trying to upcast a btRigidBody from a btCollsionObject that didn't have one. I check to see if the object is static or not but maybe th...
by PgrAm
Thu Dec 20, 2012 4:10 am
Forum: General Bullet Physics Support and Feedback
Topic: How can I create an arbitrary collision shape?
Replies: 2
Views: 2722

Re: How can I create an arbitrary collision shape?

I use this tool with a lowpoly obj file:
http://bulletphysics.org/Bullet/phpBB3/ ... php?t=7159

then I load the resulting .bcs file as my collision shape
by PgrAm
Thu Dec 20, 2012 3:51 am
Forum: General Bullet Physics Support and Feedback
Topic: Kinematic Character isn't interacting with dynamic objects
Replies: 1
Views: 2043

Kinematic Character isn't interacting with dynamic objects

according to here: http://code.google.com/p/bullet/source/detail?r=1457 bullet should support collisions between btKinematicCharacterController and dynamic objects however when my character comes into contact with dynamic objects it does one of two things: 1. goes right through the object 2. walks o...
by PgrAm
Thu Nov 08, 2012 1:35 am
Forum: General Bullet Physics Support and Feedback
Topic: Bullet optimization
Replies: 1
Views: 2094

Bullet optimization

I have recently determined that a large performance bottleneck in my game is physics. Right now I run bullet without any parallelization. I tried using btParallelConstraintSolver but weird things happened such as my character not slowing down and objects not making contact. Is there more work requir...
by PgrAm
Tue Nov 06, 2012 12:54 am
Forum: General Bullet Physics Support and Feedback
Topic: why is setAngularVelocity done by Euler?
Replies: 1
Views: 2257

why is setAngularVelocity done by Euler?

I just realized when I was trying to use setAngularVelocity that it took its input as a Yaw Pitch Roll vector (I thinks that what it corresponds to). I was just wondering why setAngularVelocity did not have an overload using a quaternion which would make sense in many cases?
by PgrAm
Fri Sep 14, 2012 9:45 pm
Forum: General Bullet Physics Support and Feedback
Topic: how to sync bullet in online game?
Replies: 2
Views: 2212

Re: how to sync bullet in online game?

I would recommend doing physics on the server side it would simplify things allot and stop slower computers from affecting the game speed. If your multiplayer isn't server based then I would choose one player to "Host" the game and the physics would be done on their computer. The inputs fr...
by PgrAm
Thu Sep 06, 2012 9:03 pm
Forum: General Bullet Physics Support and Feedback
Topic: avoid deceleration when character is moving uphill
Replies: 1
Views: 2055

avoid deceleration when character is moving uphill

Hi I'm using a rigid body as my character (not the kinematic character controller). I'm having an issue where when my player is moving up small inclines such as rough terrain (less than 0.5m) they experience deceleration when they shoud just walk over a small bump, I'm moving the character using set...
by PgrAm
Sun Apr 15, 2012 3:51 pm
Forum: General Bullet Physics Support and Feedback
Topic: testing jump using ray cast
Replies: 1
Views: 2089

testing jump using ray cast

Hi I'm writing a game using bullet and I'm having trouble testing whether or not my character should be able to jump. The character should only be able to jump If they are standing on something so I decided to cast a ray downward and if that ray hits something then they will jump. But here is my pro...