• Register

You assume the role of team leader in the tactical response team of a major city police force. Your work is to plan and carry out tactical entry in barricade and hostage situations with least possible loss of life the desired outcome.

Report RSS Muscle animations and weapon mechanics

The past week I've added a simple physics-based animation system and I've refined the weapon mechanics.

Posted by on

Muscle animations and weapon mechanics


More details in the weapon animations


Weapon mechanics

The past week I've put more work into the weapon mechanics. The mechanics model is more detailed now and I've updated all the weapons with the new features. The biggest difference is for the pistols. They now have barrel translation and tilt that is animated. Also the feeding of rounds and extraction of casings is now made visible on all weapons that have the involved parts in plain view.

The bolt or slide feeds new rounds into the chamber on cycling and the casings are extracted when the bolt or slide opens. I also fixed an issue I've had a long time that prevented ejected casings from spinning properly so now the ejection looks better as well.

Pistol with barrel translation and tilt

Here you can see how the barrel follows the slide the very first bit

of movement and how it tilts slightly upward.


Here's also an animation I made recently that shows the layers and buildup of the most detailed weapon I've made so far. With the mechanics as detailed above, the slide, barrel and hammer need to be separate parts:

Layers and buildup of the FNX pistol


Muscle-based animations

Other than that I've been working on some simple physics-based animations that the characters play when they become rag dolls. This is a bit randomized so it doesn't happen every time they fall. For now they are in essence simple poses, like grabbing at body parts that were hit.

A character playing a couple different muscle poses

This one shows a few poses. When he falls he is first tensing up, then he grabs his abdomen

and finally he reaches for his leg, gets interrupted and tries again.

The green debug lines show bullet entries and the red ones are exits.


I also use it to make the characters cramp and spasm. This is activated in a couple of different situations.

Spasms

When having suffered non-lethal brain trauma they can enter a fit of spasms. Spasms also activate when characters can't breathe because they are lying unconscious and face down. These spasms are of lower intensity and serve the purpose of removing anything blocking their respiration. They are also used for short muscle impulses that are triggered when they receive brain trauma. See the video below for that.

Cramps

Cramps activate when characters have suffered non-lethal brain trauma and also when their hearts are destroyed (the brain, heart and lungs are all vitals that can be hit separately). When this happens the characters muscles tense up while they fall down.

This video shows the cramps and spasms as well as the other muscle animation features:


The sandbox demo

Lastly I've been working toward releasing the sandbox demo for a long time and more than once I've given bad estimates for when it should be ready. So I'll not attempt to give an estimate now, but I'll tell you that I'm now working from a fresh list of items I want fixed before release. I created this list last Wednesday and I've completed a third of them already.

Thanks for reading!

For daily updates and some extra media content you can also follow me on twitter: @BloodAndBullet

Post comment Comments
notaclevername
notaclevername - - 522 comments

Looking great!

Reply Good karma Bad karma+1 vote
isbeorn Author
isbeorn - - 837 comments

Thanks! And YES finally a comment :D

Reply Good karma+2 votes
Xamp
Xamp - - 559 comments

I'm just glad they stopped simply falling into the fetal position, but all the logic and extra stuff sure is apreciated.

Reply Good karma Bad karma+1 vote
isbeorn Author
isbeorn - - 837 comments

Oh that didn't happen very much before, perhaps it has just been coincidence in my recordings if it seemed that way.

Reply Good karma+1 vote
Smler
Smler - - 20 comments

Reminds me of a game I would play...

Reply Good karma Bad karma+1 vote
isbeorn Author
isbeorn - - 837 comments

The demo will be ready soon. Try it!

Reply Good karma+1 vote
shamrockfarms
shamrockfarms - - 17 comments

looks amazing all stuff i wish other games would do keep up the good work!!

Reply Good karma Bad karma+2 votes
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: