Limbs, Grip Modifiers & Visual Update

PlayerController2.gif

Limb Colliders

The game now includes a basic implementation of the LimbColliders, which can be tagged whether they are critical or not and will only respond to sword collisions.

At this time, the response is limited to triggering a basic blood particle system, and there is so far no detection of just how fast the blade hits the collider. But these will be added at a later date.

Grip Modifiers

SwordModifier.gif

The player controller now supports grip modifiers (activated with left and right trigger pulls). This is achieved by rotating the Target Parent on the Z-axis.

SwordModifierEditor.gif

While the player’s range of attack is still fairly limited, the player now has more options when attacking/defending.

Sword Mesh

The player now has a sword to wield in combat.

SwordRender1

The sword mesh was modelled in blender, with two shading groups: one for the hilt, the other for the blade. The aim was to have a nice, simple and clean mesh without wasting time on texturing.

SwordEditor.PNG

The sword’s box collider is only present on the blade of the sword, and the mesh is a child of the right hand bone of the player model, which lead to very painless implementation. The results are good enough to continue working on other things.

What’s Next?

Applying limb colliders to all of the limbs of the player model. And figure out a way to get the colliders to “talk” to the player controller. Or maybe make a separate player manager script to handle collision responses. Along with this, maybe start looking at player health.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this:
search previous next tag category expand menu location phone mail time cart zoom edit close