Browse Search Popular Register Upload Rules User list Login:
Search:
help me.

Image:
screenshot of the scene

Author: bugsbunny

Group: Default

Filesize: 3.89 kB

Date added: 2014-02-02

Rating: 5

Downloads: 291

Views: 126

Comments: 8

Ratings: 1

Times favored: 0

Made with: Algodoo v2.0.1

Tags:

Scene tag

Please give me some tips at making a nice spawan engine, bescause to be honest I'm a noob at scripting.:( Help pleashe.
Please log in to rate this scene
edit
The one in tyhe scene changes direction randomly and I don't know why.:(
*the
It fires randomly because the "spark" is being triggered at top-dead-center. When that happens, the spawned circle might make the piston push down slightly before or slightly after the collision. Ideally, you want the spark to fire just slightly after TDC. (If you know anything about internal combustion engines, then this will make sense). In my opinion, the best way to trigger the spark is to use a position on the crank shaft rather than the top of the piston. Then you can adjust the timing perfectly for the most efficient operation.
Try mounting a tiny circle or box on the edge of the crank shaft, and place another geometry near the crank shaft so that the collision triggers the spark when the piston is slightly beyond TDC. You can do that with a scene.my variable. When the spark gets triggered, your little red circle will spawn the combustion circle, pushing the piston down.
.-.
wat
bugsbunny - Don't you have more to say than just "wat"? Did you not understand what I told you? Let me know and I will try to explain it again if you did not understand what I said.
Sorry, lol. xD
:P