Is python faster than logic bricks?

Is it faster to have all you sensors go into one python script?

sometimes

you’d have to have a lot

and it can be a lot more flexible, and eliminate redunant sensors if you have a bunch of objects which need different pulse modes and such

so, this could probably be made to work a lot better with python:
http://home.earthlink.net/~nwinters99/BlenderStuff/excess_logicbrick.png
[it is a car setup, which I had started rebuilding but didn’t complete]

Well I don’t know, but you can use sensors in combination of add with python function and call your python script. I did a total movement in python, included jump. I just made a bunch of keyboard sensors and linked them to the python script that has the options to move the cube around. :smiley: But I didn’t figure out if python script was faster then 100% using logic bricks.

My impression of logic-bricks is that they are “occasionally” sufficient by themselves, but “usually” are a necessary stepping-stone to get you to a short clip of Python code. If what you are doing can be done entirely with Bricks, and you’ll be able to figure it all out when you look at the project six months from now, then it’s your-choice.

The Python system is very efficient. It compiles the code on-the-fly and there is minimal overhead when the Python runtime environment is called. That’s not to say that there won’t be any difference in speed … but here’s one of those cases where “it’s a problem only if it hurts.”

“At 2.3 billion ops per second, no one can hear you scream.”

so, this could probably be made to work a lot better with python:
http://home.earthlink.net/~nwinters99/BlenderStuff/excess_logicbrick.png

LOL

my setup exactly! :wink:

besides, there are some things logic bricks can’t do.

That is totally outrageous. I would go mad trying to keep all that logic straight. DEFINATELY a lot easier to maintain with python rather then logic bricks.

so, this could probably be made to work a lot better with python:
http://home.earthlink.net/~nwinters99/BlenderStuff/excess_logicbrick.png
[it is a car setup, which I had started rebuilding but didn’t complete

that looks like my main player
but i have python bricks mixed in

Holy sh**! :o

That reminds me of the huge setup in that demo “55 Wheels” on the Blender GameKit cd.

So, I guess this means to use python.

I guess it also means I need to work harder to learn it. %|

Holy sh**! :o

That reminds me of the huge setup in that demo “55 Wheels” on the Blender GameKit cd.

So, I guess this means to use python.

I guess it also means I need to work harder to learn it. %|[/quote]

well not really becouse if u transfer that into python u would just have pages and pages of writing and i would rather work with logic bricks than all that python tho i agree with jd using pythin and logic bricks is proberly ur best bet