Bullet ate my game

Yes, I’m sorry to say this, but it did. It may be a bit of an over statement, but meh. I converted from Sumo physics to bullet. It did fix my problem of crashing. It never crashes anymore. Runs like a dream. Except for the minor, (well actually major,) problem bullet created:

When I start my game, the player has a subtle movement in the, negative, I believe, x direction. It doesn’t do this when I switch my physics system to Sumo. But I can’t change scenes in Sumo, and I can in Bullet. It doesn’t do this in my little scene where the player is a glowing ball. So I diagnosed the problem as something in my player that bullet doesn’t like. :frowning:

In a crude attempt to find the cause, I created a stationary camera and started deleting objects 1 by 1 and testing to see which one would magically make it work. None of them did. So I appeal to you: The Guys. Do any of you have any idea why Bullet has a terrible grudge against me? Here’s a file:

http://www.savefile.com/files/871830

But, on the plus side, I found a penny which had been bent into the shape of a slouch hat. So I’m happy now :yes:

(It’s been 289 posts and I’ve only just used my first generic Blender smiley.)

Ah Bullet, how you torture us poor blenderheads…

I had a problem kinda similar this about 10 months ago while i was working on a game called ‘speedway’, which i had - not being as knowledgeable as i am today - created using sumo physics, i too was having problems with long loading times and crashes and saw bullet physics as a possible solution. But my game just didn’t work with it, the file messed up and i couldn’t even open it to change back to sumo and lost the whole project…

I would download the file but i don’t have access to a computer and am using the browser on a nintendo wii lol.

Just learn from your mistake and be sure to use bullet physics when you start future projects. :wink:

[/rant]

EDIT: Oh yeah and congrats on finding that penny :smiley:

My connection’s not fast enough to download your file, but I recommend checking your file for potential collisions between faces in your character object. Bullet can sense collisions between parented faces, and this can result in strange motion. The effect is similar to plugging in a large fan on a sailboat and using it to fill the sail. :slight_smile: Check out all the faces that are set to Collision, and disable as many as you can.

I set your character and all the weapons to actor with ghost. Then I cleared the collision on the player mesh. Seems to work fine after that, although for some reason the directional stuff is broken in the next area.

Also, for your arrows, you need to add new motion for them. Try this

Always----and----Motion: z-axis 1.00 Local

Also, you might want to take a different approach to the way your developing your game. I’d get rid of the menu and all the weapon stuff and just start with the character moving through the environments. Then once that’s solid, add in the bow. Once that works, add in the bombs, etc. That way, if your having problems it will be easier to nail down. So if everything works well and you add in a weapon and it stops working, you know it was the weapon that broke the game.

That’s how it was. I had my little box and made the movement camera work etc. Then I added in a character and animations. Then I added in some bombs. Then I added in a bow. Then a lantern. Then a system by ehich the user could tell which weapon was selected. Then I put quatities on my weapons. Then I changed he amount of slots from 3 to 6. Then I designed a new player and started to put in environments. Blah, blah, blah. It all worked fine until I changed my physics from sumo to bullet.

I’ll try making all my player actors (except the bounding box,) ghost.

Thanks for the help.

Heck, I ran it several times and couldnt figure out how to use it. Im sorry to say. But I think I get it now.

The error below is what is causing the crash. I have found this error in a .blend i have and emailed the error in.

You should too. OK?

Attachments