pushing thrusters
24 posts • Page 1 of 1
pushing thrusters
thrusters only create a force on the object its attached to, so, howzabout a check box in the thuster options, that pushes ther objects away from its behind, like wind.
[edit]did I include everyone? In the poll, that is? Plz post if you're not.
[edit]did I include everyone? In the poll, that is? Plz post if you're not.
Last edited by FuzzyLogicBrain on Mon Jul 25, 2011 5:38 pm, edited 5 times in total.
-

FuzzyLogicBrain - Posts: 315
- Joined: Mon Jan 31, 2011 7:48 pm
- Location: when online, on the computer. when not, probably on it anyways. ;D lulz
Re: pushing thrusters
Is not this just like negative attraction but the only difference is that it is directional ?
Gears are my favorite mechanism. Why do you think I have this username ? 
Make sure to spend some time to see my work http://www.algodoo.com/algobox/profile.php?id=96, just to kill sometime
PS: Gear97™ Is a trademark from me. Any unauthorized use of the term "Gear" for usernames or other naming ideas will be punished.
Make sure to spend some time to see my work http://www.algodoo.com/algobox/profile.php?id=96, just to kill sometime
PS: Gear97™ Is a trademark from me. Any unauthorized use of the term "Gear" for usernames or other naming ideas will be punished.
-

Gear97 - Posts: 146
- Joined: Sat Jan 02, 2010 5:34 pm
- Location: Brazil
Re: pushing thrusters
Negative attraction could probably be made directional if you tried...
-

TC42 - Posts: 984
- Joined: Sun Jan 09, 2011 1:53 pm
- Location: $ sudo apt get-install sandwich_
Re: pushing thrusters
>:( *sigh* i dont want to try, its just a suggestion
-

FuzzyLogicBrain - Posts: 315
- Joined: Mon Jan 31, 2011 7:48 pm
- Location: when online, on the computer. when not, probably on it anyways. ;D lulz
Re: pushing thrusters
I support.
Negative attraction can be made directional, but it isn't that good. You need to put positive attraction behind it.
You know, I could Thyme this. It would actually be a lot like some kind of gun, spawning a column of several armor-piercing bullets that auto-delete after some amount of time. That amount of time would be preset, simulating the bullets going some distance and deleting.
Negative attraction can be made directional, but it isn't that good. You need to put positive attraction behind it.
You know, I could Thyme this. It would actually be a lot like some kind of gun, spawning a column of several armor-piercing bullets that auto-delete after some amount of time. That amount of time would be preset, simulating the bullets going some distance and deleting.
Matthias Wandel is epic, in my humble opinion.
I love my brain...
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.
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.
-

Someone Else - Posts: 1147
- Joined: Sun Nov 21, 2010 10:53 pm
- Location: The Milky Way Galaxy
Re: pushing thrusters
And maybe you could set the angle of the negative attraction? So everything within the resulting cone would be pushed away.
Support!
Support!
TheWonkits wrote:You can't do cartwheels when you're bored. Biological impossibility; they're fueled by joy.
Phundamentalist
- Ravenplucker
- Posts: 644
- Joined: Thu Jan 06, 2011 6:22 pm
- Location: Sydney, Australia
Re: pushing thrusters
if you reversed the flow, as in make a vacuum where the red gradiency is, and where the arrow is pointing to is a kind of "leaf blower".
-

FuzzyLogicBrain - Posts: 315
- Joined: Mon Jan 31, 2011 7:48 pm
- Location: when online, on the computer. when not, probably on it anyways. ;D lulz
Re: pushing thrusters
I like this suggestion.
Support.
Support.
-

Ivan - Posts: 203
- Joined: Tue Oct 06, 2009 2:01 pm
- Location: Croatia
Re: pushing thrusters
not support that thruster option but simple "wind" (just an air friction pre-velocity) will be cool.
Dream of Algodoo as game development engine...
-

Kilinich - [Best bug reporter 2010]
- Posts: 2098
- Joined: Mon Aug 31, 2009 8:27 pm
- Location: South Russia
Re: pushing thrusters
i support pushing thrusters 
Basically, there are only 10 types of people in the world. Those who know binary, and those who don't.
Light travels faster than sound. That's why some people appear bright until they open their mouths.
Light travels faster than sound. That's why some people appear bright until they open their mouths.
-

monstertje3 - Posts: 343
- Joined: Sat Sep 05, 2009 4:29 pm
- Location: N-H, NL
Re: pushing thrusters
ok, I agree with Kilinich. 
Gears are my favorite mechanism. Why do you think I have this username ? 
Make sure to spend some time to see my work http://www.algodoo.com/algobox/profile.php?id=96, just to kill sometime
PS: Gear97™ Is a trademark from me. Any unauthorized use of the term "Gear" for usernames or other naming ideas will be punished.
Make sure to spend some time to see my work http://www.algodoo.com/algobox/profile.php?id=96, just to kill sometime
PS: Gear97™ Is a trademark from me. Any unauthorized use of the term "Gear" for usernames or other naming ideas will be punished.
-

Gear97 - Posts: 146
- Joined: Sat Jan 02, 2010 5:34 pm
- Location: Brazil
Re: pushing thrusters
I support as a part of thrusters and/or as its own little thing.
Matthias Wandel is epic, in my humble opinion.
I love my brain...
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.
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.
-

Someone Else - Posts: 1147
- Joined: Sun Nov 21, 2010 10:53 pm
- Location: The Milky Way Galaxy
-

FuzzyLogicBrain - Posts: 315
- Joined: Mon Jan 31, 2011 7:48 pm
- Location: when online, on the computer. when not, probably on it anyways. ;D lulz
Re: pushing thrusters
I selected everything on your poll. After all, who wouldn't?
Also, I would support the ability to put any float into the attractionType box in the script menu.
The unit in the Material menu would show this: Nm^{attractionType}/kg^2
Thus, you could more closely simulate, say, atomic nuclei.
Also, I would support the ability to put any float into the attractionType box in the script menu.
The unit in the Material menu would show this: Nm^{attractionType}/kg^2
Thus, you could more closely simulate, say, atomic nuclei.
Matthias Wandel is epic, in my humble opinion.
I love my brain...
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.
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.
-

Someone Else - Posts: 1147
- Joined: Sun Nov 21, 2010 10:53 pm
- Location: The Milky Way Galaxy
-

FuzzyLogicBrain - Posts: 315
- Joined: Mon Jan 31, 2011 7:48 pm
- Location: when online, on the computer. when not, probably on it anyways. ;D lulz
Re: pushing thrusters
FuzzyLogicBrain wrote::wtf: atomic nuclei? do you teach teens?
No, he was just involved in my (epic-fail) collab.
-

TC42 - Posts: 984
- Joined: Sun Jan 09, 2011 1:53 pm
- Location: $ sudo apt get-install sandwich_
-

FuzzyLogicBrain - Posts: 315
- Joined: Mon Jan 31, 2011 7:48 pm
- Location: when online, on the computer. when not, probably on it anyways. ;D lulz
Re: pushing thrusters
Right here. This is entirely not an epic fail, in my opinion.
However, slightly less off-topic: My father is knowledgeable in many realms.
Slightly further on-topic: the Strong Force in simulation really wants an attraction falloff on the order of Nm^6/kg^2.
Entirely on-topic: I support all of the suggestions listed above the first post in this thread.
However, slightly less off-topic: My father is knowledgeable in many realms.
Slightly further on-topic: the Strong Force in simulation really wants an attraction falloff on the order of Nm^6/kg^2.
Entirely on-topic: I support all of the suggestions listed above the first post in this thread.
Matthias Wandel is epic, in my humble opinion.
I love my brain...
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.
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.
-

Someone Else - Posts: 1147
- Joined: Sun Nov 21, 2010 10:53 pm
- Location: The Milky Way Galaxy
-

FuzzyLogicBrain - Posts: 315
- Joined: Mon Jan 31, 2011 7:48 pm
- Location: when online, on the computer. when not, probably on it anyways. ;D lulz
Re: pushing thrusters
Wind or 'suck n' blow' would be good. Not sure how wind would handle performance-wise, though (if air pressure is used).

I don't suffer from insanity. I enjoy every minute of it.
-

Rrobba - [Best Sig 2010]
- Posts: 1480
- Joined: Mon Aug 31, 2009 6:01 pm
- Location: Gibraltar
Re: pushing thrusters
It would certainly lag massively if actual particles of air were simulated,
I now haz 1,000 posts! I feel like spazzing out because of it!
It would still lag massively if the approximate air pressure at each point was calculated (think Powder Game),
I now haz 1,000 posts! BWAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA!!!!!!!!!!
However, it would not lag much at all if it was what Kilinich said: "air friction pre-velocity"
I now haz 1,000 posts! I really need to get a life!
Thus, I'm thinking that whatever produces the wind should produce an either conical or rectangular gradient behind it.
I now haz 1,000 posts! I really want to blow something up right now!
If anything overlaps this gradient, it will have a force applied to it at the center of mass of the overlap area and with a magnitude and direction related to the cross-sectional area, the velocity of the wind, and the various air friction coefficients.
I now haz 1,000 posts! Thanks to my new Explosive Testing Facility, I can!
Or, it they want, the developers could make it a ton more complicated and more realistic.
I now haz 1,000 posts! Color=#E8E8FF fo da WIN!!!
There is more to this post than meets the eye...
...because I now haz 1,000 posts! I shall proclaim this loud and clear!
I now haz 1,000 posts! I feel like spazzing out because of it!
It would still lag massively if the approximate air pressure at each point was calculated (think Powder Game),
I now haz 1,000 posts! BWAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA!!!!!!!!!!
However, it would not lag much at all if it was what Kilinich said: "air friction pre-velocity"
I now haz 1,000 posts! I really need to get a life!
Thus, I'm thinking that whatever produces the wind should produce an either conical or rectangular gradient behind it.
I now haz 1,000 posts! I really want to blow something up right now!
If anything overlaps this gradient, it will have a force applied to it at the center of mass of the overlap area and with a magnitude and direction related to the cross-sectional area, the velocity of the wind, and the various air friction coefficients.
I now haz 1,000 posts! Thanks to my new Explosive Testing Facility, I can!
Or, it they want, the developers could make it a ton more complicated and more realistic.
I now haz 1,000 posts! Color=#E8E8FF fo da WIN!!!
There is more to this post than meets the eye...
...because I now haz 1,000 posts! I shall proclaim this loud and clear!
Matthias Wandel is epic, in my humble opinion.
I love my brain...
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.
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.
-

Someone Else - Posts: 1147
- Joined: Sun Nov 21, 2010 10:53 pm
- Location: The Milky Way Galaxy
Re: pushing thrusters
Someone Else wrote:It would certainly lag massively if actual particles of air were simulated,
I now haz 1,000 posts! I feel like spazzing out because of it!
It would still lag massively if the approximate air pressure at each point was calculated (think Powder Game),
I now haz 1,000 posts! BWAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA!!!!!!!!!!
However, it would not lag much at all if it was what Kilinich said: "air friction pre-velocity"
I now haz 1,000 posts! I really need to get a life!
Thus, I'm thinking that whatever produces the wind should produce an either conical or rectangular gradient behind it.
I now haz 1,000 posts! I really want to blow something up right now!
If anything overlaps this gradient, it will have a force applied to it at the center of mass of the overlap area and with a magnitude and direction related to the cross-sectional area, the velocity of the wind, and the various air friction coefficients.
I now haz 1,000 posts! Thanks to my new Explosive Testing Facility, I can!
Or, it they want, the developers could make it a ton more complicated and more realistic.
I now haz 1,000 posts! Color=#E8E8FF fo da WIN!!!
There is more to this post than meets the eye...
...because I now haz 1,000 posts! I shall proclaim this loud and clear!
Dude stop spazzing! Gee! This is actually quite an advancement, and what if having an object behind it created an extra force on an un-glued object.
Plz re-vote thnku
-

FuzzyLogicBrain - Posts: 315
- Joined: Mon Jan 31, 2011 7:48 pm
- Location: when online, on the computer. when not, probably on it anyways. ;D lulz
Re: pushing thrusters
So it was actually my one-thousand-and-oneth post... But anyway, I'm [mostly] done spazzing for the time being.
I suppose the realistic route would begin with a redefinition of "gradient".
This redefined gradient would look a block cut up into lots of smaller blocks (all glued to the background) by a grid of laser beams. However, most of the cuts will only exist for a short time.
One axis would perhaps be slightly spread out, radiating outward from the source, whether it be a thruster or not. These, initially, do not exist as an anti-lag measure. They would all converge at a common point, or, if the gradient is cylindrical, as opposed to conical, the beams in this axis would be parallel.
I will refer to the space between these beams as a column.
The other axis would consist of beams that are also parallel and initially nonexistant, but perpendicular to the first axis.
These will be concentric about whatever point the first axis converges upon.
I will refer to the space between these beams as a row.
Whenever this wind-vector-pixellated-gradient-thingy encounters a geom, it will treat that geom as a polygon.
It will chop off all the parts of this polygon that lie outside (on either side of, beyond, or in front of) the gradient.
For each windward side in the polygon, the gradient will do this:
It will create a row-beam and a column-beam passing through each endpoint.
It will measure the direction and apparent length of the polygon side in the column-frame.
--That is, how long the side looks to someone at the point of convergence of the column-beams.
--This will account for differing angles (so this distance will be shorter than the actual distance),
--and the fact that the column-beams are not parallel, so the result will be the length of a curve.
--Much more likely, however, the result will be a highly accurate linearization.
It will multiply this length by the average of the "density" of the gradient at the two row-beams, the relative speed of the wind, and the various local and global air friction constants.
It will apply a force to the center of the polygon-side with a magnitude proportional to the above product and with a direction that I don't know how to calculate.
All thus created beams will be purged from memory, except for those column-beams that lie on an extremity of the polygon- this allows for a "wind shadow" behind. The "density" of this shadow would be inversely proportional to the airFrictionMult of the polygon in question.
After all the polygons are dealt with, they are restored to their initial non-cut-up state, the forces are added up, and the simulation returns to normal. These sums may also be mangled yet again and re-applied to whatever produced the wind.
I suppose the realistic route would begin with a redefinition of "gradient".
This redefined gradient would look a block cut up into lots of smaller blocks (all glued to the background) by a grid of laser beams. However, most of the cuts will only exist for a short time.
One axis would perhaps be slightly spread out, radiating outward from the source, whether it be a thruster or not. These, initially, do not exist as an anti-lag measure. They would all converge at a common point, or, if the gradient is cylindrical, as opposed to conical, the beams in this axis would be parallel.
I will refer to the space between these beams as a column.
The other axis would consist of beams that are also parallel and initially nonexistant, but perpendicular to the first axis.
These will be concentric about whatever point the first axis converges upon.
I will refer to the space between these beams as a row.
Whenever this wind-vector-pixellated-gradient-thingy encounters a geom, it will treat that geom as a polygon.
It will chop off all the parts of this polygon that lie outside (on either side of, beyond, or in front of) the gradient.
For each windward side in the polygon, the gradient will do this:
It will create a row-beam and a column-beam passing through each endpoint.
It will measure the direction and apparent length of the polygon side in the column-frame.
--That is, how long the side looks to someone at the point of convergence of the column-beams.
--This will account for differing angles (so this distance will be shorter than the actual distance),
--and the fact that the column-beams are not parallel, so the result will be the length of a curve.
--Much more likely, however, the result will be a highly accurate linearization.
It will multiply this length by the average of the "density" of the gradient at the two row-beams, the relative speed of the wind, and the various local and global air friction constants.
It will apply a force to the center of the polygon-side with a magnitude proportional to the above product and with a direction that I don't know how to calculate.
All thus created beams will be purged from memory, except for those column-beams that lie on an extremity of the polygon- this allows for a "wind shadow" behind. The "density" of this shadow would be inversely proportional to the airFrictionMult of the polygon in question.
After all the polygons are dealt with, they are restored to their initial non-cut-up state, the forces are added up, and the simulation returns to normal. These sums may also be mangled yet again and re-applied to whatever produced the wind.
Matthias Wandel is epic, in my humble opinion.
I love my brain...
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.
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.
-

Someone Else - Posts: 1147
- Joined: Sun Nov 21, 2010 10:53 pm
- Location: The Milky Way Galaxy
24 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 7 guests





