[Dev]Weapon switching , yey!

The last two weeks i started looking into the ability of having multiple weapons and switching between them. I rewrote most of my basic weapon code and replaced it into a base weapon which just contains a bunch of empty functions and the necessary variables for the weapons. Every weapon inherits from base weapon ofcourse.

I also started work on a melee weapon , for this i just added a simple collider in front of the player character , upon “firing” your melee weapon actors inside this will get checked and dealt damage to accordingly.

Sprinting has also been fixed.

Advertisements

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 )

Google photo

You are commenting using your Google 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