Browse Search Popular Register Upload Rules User list Login:
Gas operated rifle demo v.15c

screenshot of the scene

Author: j-dewd

Group: Default

Filesize: 65.56 kB

Date added: 2010-11-18

Rating: 8.3

Downloads: 11301

Views: 6006

Comments: 22

Ratings: 16

Times favored: 7

Made with: Phun

I approve,

Scene tag

EDIT: 15c, Better extraction

EDIT: Added removable mags on request, I didn't originally intend on taking requests but since it still is as reliable as before and because having more rounds is nice, I added it. No boltcatch though, they always break. Release the mag by draging the lever under the trigger guard to the right.

EDIT: Updated some minor shit again, better reliability, also, now looks like the stg.44 a bit. The up and down arrows can now be used to change firemodes if you're too lazy to use the drag tool. Down for full auto and up for semi.

EDIT EDIT EDIT: Uploaded v.12 with full auto, turn the purple lever clockwise (until its at about a 90 degree angle) to make it go full auto, you can now also hold the right arrowkey to fire the gun

Don't know how this is gonna work in algodoo but here goes:

This is an attempt to make an automatic rifle cycle like in real life, and since i didnt want to make phun lagg to bits by using water as propellant, i made it function the way it does. It goes through all the steps a real automatic rifle does, including bolt locking and unlocking.

Think of this as a sort of "proof of concept" thingy, i was simply experimenting and trying to see if this kind of operation was possible in phun.

Enjoy, and keep in mind that this is still experimental
Last edited at 2010/11/20 14:08:53 by j-dewd
Please log in to rate this scene
Similar scenes
Title: Gas-operated Rifle (WIP)
Rating: 6.1111
Filesize: 29.69 kB
Downloads: 2436
Comments: 0
Ratings: 3
Date added: 2011/10/28 01:04:46
Made with: Phun
Rating: rated 6.1
Title: Gas Operated Automatic Rifle
Rating: 5
Filesize: 54.44 kB
Downloads: 957
Comments: 0
Ratings: 1
Date added: 2011/12/24 17:20:39
Made with: Algodoo v2.0.0 Edu
Rating: rated 5
Title: Gas-operated ROLLER LOCK & PIN DEMO
Rating: 6.4
Filesize: 65.19 kB
Downloads: 4465
Comments: 5
Ratings: 4
Date added: 2014/12/12 16:42:49
Made with: Algodoo v2.1.0
Rating: rated 6.4
Title: Gas Rifle v2.0
Rating: 5
Filesize: 398.23 kB
Downloads: 2062
Comments: 5
Ratings: 2
Date added: 2011/11/05 19:12:31
Made with: Phun
Rating: rated 5
Title: Izmash VZ-12 Gas operated locking bolt rifle
Rating: 5
Filesize: 0.74 MB
Downloads: 2073
Comments: 5
Ratings: 1
Date added: 2020/11/24 09:05:21
Made with: Algodoo v2.1.0
Rating: rated 5
Title: 30-06 Gas Operated Rifle [5000 Hz]
Rating: 5
Filesize: 97.82 kB
Downloads: 1550
Comments: 1
Ratings: 1
Date added: 2011/06/08 02:55:47
Made with: Algodoo before v1.8.5
Rating: rated 5
Responses to this scene
show list
Title: kalashnikov v7 IT FINALY WORKS!!!!!!
Rating: 6.3636
Filesize: 415.03 kB
Downloads: 699
Comments: 5
Ratings: 5
Date added: 2011/01/13 03:46:23
Made with: Phun
Rating: rated 6.4
Wow, a really decent piece of engineering. I like how you did the bolt locking mechanism - its simple, yet effective. 10/10 from me.
Thanks, took a while to get it working properly
works in algodoo but its a little slow on the relode didnt eject a shell but that was only once :cool: another good one by the way.:tup: :tup:
Wow, beat yuras' guns in creativity, and mechanism. I really enyoyed this one and you deserve a 10 without questions asked
Works pretty good in Algodoo, VERY nice realistic concept type design :tup: :tup:
I personaly realy like the phundamentalist aproach 10/10
Nice idea dude!!!!!!!!!!! 10000000000000000000000000000000000000/10:grr: :grr: :grr: :grr: :grr:
Awesome! Although if your going to put a skin over it what final weapon will it be? Probably one of the most complex mechanisms compared to Paradigm's and Yuras's!
One of the best guns I've ever seen! Both trigger and reloading mechanisms are just beautiful! I'm totally going to use similliar mechanism!
My impression is that only thing that can be improved is firing pin, now it works with some delay.
Last edited at 2010/11/19 14:29:52 by davidz
10/10 for sure! It's an innovative mechanism.
I would suggest that you use composite shapes made out of circles and boxes in place of some of your polygons. Polygons have inferior collision calculations compared to the default circles and boxes.

Another suggestion might be that you use springs that have a high displacement and a low spring constant. This gives a near constant force.
k=100; x=6 => F=600
k=100; x=0 => F=0
k=1; x=600 => F=600
k=1; x=594 => F=594

This downplays the role that displacement has, giving you better constant force approximations.

One more thing. You have a pretty low exit velocity on your projectile. It's not a big deal, but for the sake of aesthetics it would be nice to see a wider arc. This can be assuaged by doing a slight redesign of the way the bullet interacts with the piston located inside of the barrel.
Here is an example of what I mean:
The bullet carries a block which pushes the piston. The block gets deleted midway down the barrel, but the spring is still attached to the bullet until it exits the barrel. This dramatically improves exit velocity.

And I'd also like to note that I'm unhappy with the use of stretchy hinges for the firing pin, but I won't complain since it's more stable than any alternative solution I can think of.

Great job and good luck!

Edit: oops, I just noticed this was made in Phun, so my example scene won't work for you. The construction of the gun used in that scene will transition nicely to your Phun gun, but the spring conversion between programs will cause it to malfunction. I'll try to fix that sometime this weekend.
Last edited at 2010/11/19 19:55:46 by Paradigm 29
Thanks a bunch guys, really appreciate it!

@Paradigm 29
All great suggestions, thanks, i was aware of the bullet exit-velocity problem but wasn't sure how to solve it without breaking the reload mechanism. Also, I am aware of the fact that polygons have bad collisions but i was trying to keep the number of parts down (foolishly) so i used polygons in what i thought were non critical parts.
EDIT: Oh and the bolt locking piece needs to be a polygon to be able to lock and unlock smoothly

About the springs, are you saying that i should have damping as 1 and adjust the rest of the values around that?

Thanks again
Last edited at 2010/11/19 20:00:41 by j-dewd
No, it has little to do with the damping. I might create an example scene later today to explain it better.
Until then you "might" be able to perform a quick experiment to better understand what I mean.
1. Select any spring in your scene add 10 to the target length.
2. Now divide the spring constant by 10.
Compare it to the performance of the spring before you made these modifications. You should see that you get a constant force approximation.

Like I said, I'll make an example later.
Last edited at 2010/11/19 20:19:02 by Paradigm 29
No need, i get it
BTW, if you make a new version, you should make the magazine removable.
THANKS FOR TAKING MY REQUEST!!!!!!!!!!!!!!!!!!!:tup: :tup: :tup: :tup: :yum:
Simple but complicated!:P Cool ! you deserve a 10:)
You should make a skin for it.
this is cool dude!:cool: 1000/10:tup:

and hey... i made some textures to the gun the textures is thompson 560 :cool:
Last edited at 2010/11/20 22:48:15 by krispy80
the best !0/!0
Glad to see you are still improving this:tup: very realistic action :tup:
nice but it shoot like 2meter and the the bullet falls... 9/10
I know that's a problem. In future versions of this kind of system that will be fixed. But as i said before, this is a proof of concept tech demo and the main goal was getting the thing to actually work.
Last edited at 2010/11/26 16:24:52 by j-dewd
Imma make a skin for it.