Browse Search Popular Register Upload Rules User list Login:
Search:
Piston Stability Technology

Image:
screenshot of the scene

Author: lethalsquirrel

Group: Default

Filesize: 30.13 kB

Date added: 2014-04-12

Rating: 5

Downloads: 869

Views: 376

Comments: 7

Ratings: 1

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

All the info is in the scene. :tup:
Last edited at 2014/04/12 05:26:13 by lethalsquirrel
Please log in to rate this scene
edit
Similar scenes
Title: Spawn Engine 2500 rpm 120 hz
Rating: 6.6364
Filesize: 147.38 kB
Downloads: 4025
Comments: 22
Ratings: 5
Date added: 2017/05/23 12:48:24
Made with: Algodoo v2.1.0
Rating: rated 6.6
download
Title: pneumatic piston
Rating: 5.375
Filesize: 258.43 kB
Downloads: 946
Comments: 1
Ratings: 2
Date added: 2022/07/09 16:51:35
Made with: Algodoo v2.1.0
Rating: rated 5.4
download
Title: the correct piston car
Rating: 4.875
Filesize: 197.64 kB
Downloads: 706
Comments: 1
Ratings: 2
Date added: 2012/01/28 21:45:09
Made with: Algodoo before v1.8.5
Rating: rated 4.9
download
Title: Inline 4, Laser Injection engine [ALGODOO ONLY]
Rating: 5
Filesize: 39.97 kB
Downloads: 564
Comments: 0
Ratings: 1
Date added: 2012/01/13 12:43:33
Made with: Algodoo v2.0.0 Edu
Rating: rated 5
download
Title: Stirling Engine
Rating: 6.25
Filesize: 64.95 kB
Downloads: 747
Comments: 1
Ratings: 4
Date added: 2008/11/13 00:13:25
Made with: Phun
Rating: rated 6.3
download
Title: Piston
Rating: 5.1111
Filesize: 176.19 kB
Downloads: 759
Comments: 0
Ratings: 3
Date added: 2013/10/12 15:03:38
Made with: Algodoo v2.1.0
Rating: rated 5.1
download
It used already in all my engines )
Actually, there are simpler ways to prevent an object from rotating (with the magic of scripting). It's actually very simple, and the user needs to know nothing about writing script. Here's the secret trick:

In the script menu, you will see a property called "angle". The numeric value next to it may have an odd looking number, but in most cases it is very close to zero. If that happens to be the case, you can change the value to 0.0 (zero), and at that point you should see little or no rotation of the object (in this case it's a rectangle for a piston). If the value happens to be a long way from zero (say, 1.35 or -2.87, etc) then just leave it alone.

Now the trick is, in order to prevent that value from changing, you simply place curly brackets around it ( for example: {0.0} or {1.78}, etc. Make sure that you use curly brackets and NOT parenthesis.

There is one more thing that you can do to make sure that the object doesn't rotate even under high torque from other objects, and that is to set property called "velocityDamping". You will see three numbers separated by commas and surrounded by square brackets. It should look like this: [0.0,0.0,0.0]. The first value on the left is for X motion damping, the middle is for Y motion damping, and the right is for rotation damping. The range of each value is 0 to 1.0. If you set the rotation damping to 1.0, the object will greatly resist any torque placed on it.

Try it and see if you like it any better than adding a hinge. :)
lethalsquirrel,

Read this comment.

Xray,

Thanks for sharing the info. I learned something new.
Nice and thanks for the tip s_noonan :tup: :tup:
Disclaimer: Yes I know this has been done before, Yes I know there are other ways to do this, and yes I have seen Kilinich's suspension scene. that's where I got the idea.

The only reason I posted this is to show people that don't already know about it. And I have never seen a scene demonstrating the use of stretched hinges with pistons.

This is the kind of simple scene that can help people out and spark some creative ideas.
This might be a noob question but, how do you make a stretched hinge?
tone121 - You should SEARCH for answers before asking questions. That's the difference between a "noob" and someone who knows how to find things. Now, just to be nice, I did the search for you, and found THIS

Hope this helps! :)