Health and other attributes - Sep 16th 2023
- Ibrahim Hussain
- Sep 16, 2023
- 1 min read
Health component
Health widget UI
Replication
Basic damage system that works with health component
Stamina component
Custom player movement component (added custom movement inside here)
Issues:
Health was not clamped will fall below 0
damage system would not replicate properly (was not handled on server) solved by ensuring all damage was done on server then replicated to clients also solved cheating
character movement component is not well documented and is very complicated so took a long time to figure out how to use https://www.youtube.com/watch?v=4w8vSss4YiI
Comments