I know why the ball keep getting out!
their pos code is not pos=e.pos, it's pos = [(e.pos(0) - 0.30000001), (e.pos(1) - 0.1)]
u should edit that to [(e.pos(0) -0.1), (e.pos(1) - 0.3)] on the left cylinder and [(e.pos(0) + 0.1), (e.pos(1) - 0.3)] en the right cylinder.
there a lot of things that can be improved there:
-The right gears, reverse them so while pressing enter you get a boost on both sides.
-Keep the mini tanks straight, less waste of fuel, less water running around = less lag
Yes sorry about the nice try thing, it's just that if you replace the code as i told you on the "spark plugs" the engine will run better as the balls don't get killed by the top killers.
dont get so pissed off next time
edit: i strongly suggest making the exhaust valves work, but nice modification, it is powerful indeed
that code changes the position offset where the balls are being spawned:
-e.pos(0) +/- x changes the X position of the spawning ball.
-e.pos(1) +/- y changes the Y position of the spawning ball.
i had to move the spawning place of the balls in the original scene so they spawned in the middle of the cylinder, instead of below the sparkplug, thing that increased output.
The spark plug was set in the side so i could concentrate water there and maximize the collisions with water to spawn a bigger number of balls.
and making the exhaust valves work will eat up more fuel
I like what you did to the mini fuel tank, great idea to reduce lag those killers.
I also like how you redesigned the injection valve, but let's say, there isn't something particulary new.
It was about time i saw one of these in phun! I quite like it.
PS: if you make the balls maybe with radius 0.04 or 0.03, move the killer a bit closer, and make the flywheel mass of around 50 kg (near 60kg/square meter)
it will run smoother.
weird.. are you running it at 100hz? (sim.timedelta = 0.01)
make sure the spring strenght for the claws is 1
make sure their density is 100.
If not i'm not sure what could be causing the guns malfunctioning (beside Phun's randomnes, that's why sometimes works just perfectly while others it just fails).
I'll see what i can do and upload a better version i hope
i will have to find a way to make the shell blow up on contact, but it's not impossible, just a slight modification on the fire mech and the shell (and weights )
i've tried to do one myself, but they are a bit tricky, one sugestion is to make the rotor a bit more heavy, and add a flywheel, that should improve it.
Edit: Here are some improvements...
(sorry forgot to upload it as response to this scene)