Airplanezzzzzzzzz (help)

Post your tutorials here.

Airplanezzzzzzzzz (help)

Postby mold999 » Sat May 28, 2011 9:22 pm

I am kinda bad at scripting, and i know there are other tutorials out there, but they are all really confusing. How do you make an engine for an airplane?

I know there are those air-friction engines and density engines, and I've built my own that are the exact same, but all they go really crazy. They do not go straight like the others. Please try to keep this simple.
Phundementalism?

Ain't nobody got
thyme fo dat.
User avatar
mold999
 
Posts: 225
Joined: Sun Jan 02, 2011 1:35 am
Location: [176436, 3763234]

Re: Airplanezzzzzzzzz (help)

Postby Someone Else » Sun May 29, 2011 6:15 pm

I think the simplest thruster one can make is probably a Collision Thruster.

  • Use four fixated boxes to make a box with a square hole that you can snugly fit a circle in.
  • Put two circles in there- both on heteroCollide, one collides with water, one doesn't, and they should be center-hinged together.
  • If you're using 1.9.4, select the hinge, find legacyMode, set it to 0. This tells Algodoo to make the hinge weaker, using the old solver. 1.8.5 uses this solver anyway, so if you're using it, ignore this step.
  • The circles should not be able to move around in the box.
  • Add another box the the top and bottom. These should overlap the top and bottom of the circles a bit.
  • Fixate these new boxes to the original box.
  • Put both of these new boxes on heteroCollide, one collides with water, one doesn't.
  • Both of these new boxes get this code in onCollide:
    Code: Select all
    e.other.collideWater = !e.other.collideWater;
    e.other.density = controllerAcc
  • Go into the script menu, set the top circle's controllerAcc to 0.01; the bottom circle's to 100.

Rating: rated 5
Filesize: 25.02 kB
Comments: 0
Ratings: 1
download

This scene uses the same principles, but uses lasers to make the whole thing a lot more complicated.
Matthias Wandel is epic, in my humble opinion.
I love my brain...
TC42 wrote:Also, your sig is too big, please change it.

ARE YA HAPPY NOW?????

Thymechanic/Phundamentalist

Recently, I discovered something a lot of you probably already knew: Minecraft is awesome.
Due to this, I may not be as active as usual for a while.
User avatar
Someone Else
 
Posts: 1147
Joined: Sun Nov 21, 2010 10:53 pm
Location: The Milky Way Galaxy

Re: Airplanezzzzzzzzz (help)

Postby Dare » Mon May 30, 2011 8:02 am

Thruster ain't gonna make you an aeroplane. You need a main wing + horizontal stabiliser/elevators.

Here's the best collision wings out right now:
Rating: rated 7.2
Filesize: 36.01 kB
Comments: 8
Ratings: 7
download


Read the scene description to learn how to tune them. If you want other types of wings, these are the best:
Old C-Wing
K-Wing | Phun
K-Wing | Algodoo

Happy flying.
ImageImage
TC42 wrote:Dare, you are creepy.

Official Algobox Admin! Please PM me if you have any issues regarding Algobox.
User avatar
Dare
 
Posts: 833
Joined: Sat Nov 21, 2009 4:27 pm
Location: Sydney, Australia

Re: Airplanezzzzzzzzz (help)

Postby Someone Else » Mon May 30, 2011 2:37 pm

mold999 wrote:How do you make an engine for an airplane?

He wanted to make an engine for an airplane, which is what I described.
Besides, you know perfectly well how one can make a perfectly useful and controllable airplane where the engine does double-duty as the wing.

And besides- I haven't figured out how to the C-Wing works. I can make a guess, I know how it gets its thrust, but I haven't managed to make my own version yet.
Matthias Wandel is epic, in my humble opinion.
I love my brain...
TC42 wrote:Also, your sig is too big, please change it.

ARE YA HAPPY NOW?????

Thymechanic/Phundamentalist

Recently, I discovered something a lot of you probably already knew: Minecraft is awesome.
Due to this, I may not be as active as usual for a while.
User avatar
Someone Else
 
Posts: 1147
Joined: Sun Nov 21, 2010 10:53 pm
Location: The Milky Way Galaxy

Re: Airplanezzzzzzzzz (help)

Postby mold999 » Mon May 30, 2011 7:47 pm

@Someone Else :

Is it phunlet-safe? I copied it into another scene and not it doesn't work.
Phundementalism?

Ain't nobody got
thyme fo dat.
User avatar
mold999
 
Posts: 225
Joined: Sun Jan 02, 2011 1:35 am
Location: [176436, 3763234]

Re: Airplanezzzzzzzzz (help)

Postby Dare » Tue May 31, 2011 7:19 am

Someone Else wrote:He wanted to make an engine for an airplane, which is what I described.
Besides, you know perfectly well how one can make a perfectly useful and controllable airplane where the engine does double-duty as the wing.

And besides- I haven't figured out how to the C-Wing works. I can make a guess, I know how it gets its thrust, but I haven't managed to make my own version yet.

Yes I know ... I'm giving him the wings as well as your engine. Thrusters are not going to make him an "Airplanezzzzzzzzz", wings are.
ImageImage
TC42 wrote:Dare, you are creepy.

Official Algobox Admin! Please PM me if you have any issues regarding Algobox.
User avatar
Dare
 
Posts: 833
Joined: Sat Nov 21, 2009 4:27 pm
Location: Sydney, Australia

Re: Airplanezzzzzzzzz (help)

Postby Someone Else » Wed Jun 01, 2011 6:31 pm

mold999 wrote:@Someone Else :

Is it phunlet-safe? I copied it into another scene and not it doesn't work.

It should be Phunlet safe... Did it work in the first scene? Also, try turning gravity and air off. If it moves, but not very much, set the controllerAcc of the bottom scripted box to 10,000. The bigger the difference between the controllerAccs, the bigger the thrust.
Matthias Wandel is epic, in my humble opinion.
I love my brain...
TC42 wrote:Also, your sig is too big, please change it.

ARE YA HAPPY NOW?????

Thymechanic/Phundamentalist

Recently, I discovered something a lot of you probably already knew: Minecraft is awesome.
Due to this, I may not be as active as usual for a while.
User avatar
Someone Else
 
Posts: 1147
Joined: Sun Nov 21, 2010 10:53 pm
Location: The Milky Way Galaxy

Re: Airplanezzzzzzzzz (help)

Postby stuff and stuff » Sun Dec 11, 2011 8:43 pm

u could just make a hollow box, then put a ball spawner at one end, and a killer box at the other.
script for ball spawner:
scene.addcircle(pos=e.pos; radius=0.5; color=[1.0,0.0,0.0,1.0]; density=2.0)
wait, is that right?
stuff and stuff
 
Posts: 4
Joined: Tue May 03, 2011 4:44 am

Re: Airplanezzzzzzzzz (help)

Postby Nxdt » Mon Dec 12, 2011 9:19 pm

Thruster tutorial;
Rating: rated 5
Filesize: 59.84 kB
Comments: 3
Ratings: 1
download


also, not sure if it works but;
no image found for this scene
Rating: rated 5
Filesize: 38.19 kB
Comments: 0
Ratings: 1
download
User avatar
Nxdt
 
Posts: 1019
Joined: Mon Aug 31, 2009 6:32 pm
Location: Scotland!


Return to Tutorials

Who is online

Users browsing this forum: No registered users and 4 guests

cron