# Minigun barrel rotation

**URL:** <https://blenderartists.org/t/minigun-barrel-rotation/1653372>\
**Category:** Modeling\
**Tags:** animation\
**Created:** [September 22, 2026, 11:09am UTC](https://blenderartists.org/t/minigun-barrel-rotation/1653372 "2026-09-22T11:09:13Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Venko](https://blenderartists.org/letter_avatar_proxy/v4/letter/v/49beb7/32.png) [@Venko](https://blenderartists.org/u/Venko)\
**Post date:** [September 22, 2026, 11:09am UTC](https://blenderartists.org/t/minigun-barrel-rotation/1653372/1 "2026-09-22T11:09:13Z")

</div>

Hello!

Is there a way to keyframe the rotation of the minigun barrel, so it can start and stop firing at specific frames, while it keeps constant rotation set by the user. I set it up as 360 degrees rotation from frame 1 to 20, enabled cyclic modifier, but I want to make it start firing from frame 50 to 200, then 250 to 300 for example. Now it fires the whole timeframe. Maybe with driver?

 ![Screenshot from 2026-09-22 12-38-33](https://blenderartists.org/uploads/default/original/4X/5/0/1/501e4496f04fbcd4f2c699a6b80082d4a0abad79.png)

---

<div class="post-metadata">

**Author:** ![Hadriscus](https://blenderartists.org/user_avatar/blenderartists.org/hadriscus/32/978263_2.png) [@Hadriscus](https://blenderartists.org/u/Hadriscus)\
**Post date:** [September 22, 2026, 2:56pm UTC](https://blenderartists.org/t/minigun-barrel-rotation/1653372/2 "2026-09-22T14:56:11Z")

</div>

Hi,

Short of simply animating the barrel anytime you need it to fire (which is the simplest solution but involves a bit of fiddling in the graph editor), you could make a simulation for it.

This would let you do as you ask : set up a constant rotation speed, and then toggle it on or off at specific times. Is that what you want ?

---

<div class="post-metadata">

**Author:** ![Venko](https://blenderartists.org/letter_avatar_proxy/v4/letter/v/49beb7/32.png) [@Venko](https://blenderartists.org/u/Venko)\
**Post date:** [September 22, 2026, 3:02pm UTC](https://blenderartists.org/t/minigun-barrel-rotation/1653372/3 "2026-09-22T15:02:07Z")

</div>

Hi, yes-the rotation per second (or rpm) should be constant speed, but to toggle on and off at specific times/frames.

---

<div class="post-metadata">

**Author:** ![Hadriscus](https://blenderartists.org/user_avatar/blenderartists.org/hadriscus/32/978263_2.png) [@Hadriscus](https://blenderartists.org/u/Hadriscus)\
**Post date:** [September 22, 2026, 4:20pm UTC](https://blenderartists.org/t/minigun-barrel-rotation/1653372/4 "2026-09-22T16:20:06Z")

</div>

I made this example :

[barrel\_rotation\_example.blend](https://blenderartists.org/uploads/short-url/44eoEtlTVR4tPv8FUEmWlxYMhV.blend) (112.4 KB)

Then you just have to recreate the transform relationships (parenting, constraints) between the empty object and the rest of the gun.

---

<div class="post-metadata">

**Author:** ![Venko](https://blenderartists.org/letter_avatar_proxy/v4/letter/v/49beb7/32.png) [@Venko](https://blenderartists.org/u/Venko)\
**Post date:** [September 22, 2026, 6:06pm UTC](https://blenderartists.org/t/minigun-barrel-rotation/1653372/5 "2026-09-22T18:06:14Z")

</div>

Ok, I will try it, thanks!

---

<div class="post-metadata">

**Author:** ![revolt\_randy](https://blenderartists.org/user_avatar/blenderartists.org/revolt_randy/32/8606_2.png) [@revolt\_randy](https://blenderartists.org/u/revolt_randy)\
**Post date:** [September 22, 2026, 9:25pm UTC](https://blenderartists.org/t/minigun-barrel-rotation/1653372/6 "2026-09-22T21:25:01Z")

</div>

I’d just key frame the rotation. It’s not that hard to do and you could probably learn something about animation in the process… It can all be done in the Dopesheet editor, but having a Graph editor open at the same time will enable you to see what is really happening.

Insert a key frame for rotation on frame 1. In the Dopesheet, Shift-D to duplicate the keys and move them to frame 50. On frame 70, rotate the gun barrel 360 degrees and insert a key frame. Now, from the Dopesheet’s Channel menu - Extrapolation Mode → Linear Extrapolation. Watch the Graph editor as you do this and see the changes. These keys will cause the barrel to start spinning on frame 50 and spin on forever, 360 degrees every 20 frames.

To stop the barrel from spinning, on frame 200 insert a key frame. Duplicate that key and move it to frame 201. If you playback the animation now, you’ll notice the barrel slowly spins up to speed and also slows rotation at the end. If you want it to be ‘snappier’ - Dopesheet menu Key → Interpolation Mode → Linear.

To start the barrel spinning again, duplicate the key on frame 201 and move it to frame 250. On frame 270, rotate the gun barrel 360 degrees and insert a key frame. And so on…

[Barrel\_Rotation\_Example.blend](https://blenderartists.org/uploads/short-url/qY5mHl7MahlXWqJ9kcaoAvEg3uD.blend) (914.3 KB)

Randy

---

<div class="post-metadata">

**Author:** ![Venko](https://blenderartists.org/letter_avatar_proxy/v4/letter/v/49beb7/32.png) [@Venko](https://blenderartists.org/u/Venko)\
**Post date:** [September 23, 2026, 9:05am UTC](https://blenderartists.org/t/minigun-barrel-rotation/1653372/7 "2026-09-23T09:05:00Z")

</div>

One question please-is there a way to make the transition between the stop and start and vice versa smoother? Now is like hard start and hard stop. I mean to gradually start spinning and then stopping.

---

<div class="post-metadata">

**Author:** ![Venko](https://blenderartists.org/letter_avatar_proxy/v4/letter/v/49beb7/32.png) [@Venko](https://blenderartists.org/u/Venko)\
**Post date:** [September 23, 2026, 9:06am UTC](https://blenderartists.org/t/minigun-barrel-rotation/1653372/8 "2026-09-23T09:06:44Z")

</div>

Thanks! I will try this method too.

---

<div class="post-metadata">

**Author:** ![Hadriscus](https://blenderartists.org/user_avatar/blenderartists.org/hadriscus/32/978263_2.png) [@Hadriscus](https://blenderartists.org/u/Hadriscus)\
**Post date:** [September 23, 2026, 9:23am UTC](https://blenderartists.org/t/minigun-barrel-rotation/1653372/9 "2026-09-23T09:23:28Z")

</div>

It is possible, but it wasn’t part of the pitch. If you need an ease-in and ease-out it might make more sense to use `set instance transform`. Although it should still be possible using `rotate instances`, you would have to keep track of the last state of the `rotate` property and the number of frames elapsed since the state was last changed. With `set instance transform`, although the basic setup gets a little more complicated, adding the ease-in/out on top is more straightforward.

(I wonder if perhaps my sleep deprivation isn’t making me hallucinate about this problem…)

---

<div class="post-metadata">

**Author:** ![Venko](https://blenderartists.org/letter_avatar_proxy/v4/letter/v/49beb7/32.png) [@Venko](https://blenderartists.org/u/Venko)\
**Post date:** [September 24, 2026, 4:50pm UTC](https://blenderartists.org/t/minigun-barrel-rotation/1653372/10 "2026-09-24T16:50:28Z")

</div>

Managed to do something 🙂 I only have to fix the twisting on the ammo belt array.
