Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Damage rework - Hit position & Direction #317

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

niefia
Copy link
Collaborator

@niefia niefia commented Oct 16, 2024

  • Reworked the damage system to include Hit position & direction
  • Added options to instantiate scenes at either global or local hit position
  • Added option to apply force to Rigidbodies on hits
  • Added option to spawn decal on any hitscan collision

WIP - Still need to sort melee weapons hit position

Reworked the damage system to include Hit position & direction
Added options to instantiate scenes at either global or local hit position
Added option to apply force to Rigidbodies on hits
Added option to spawn decal on any hitscan collision

WIP - Still need to sort melee weapons position
Removed direct player references for better multiplayer support in future

Fixed button damage interaction

Also fixed a typo in the readme
Added option of Hitbox-Collider melee collision, seems from my testing to be more accurate since it uses the actual hitbox, but less reliable so have it as an option.

Added knockback to the NPC so they can respond to damage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant