Commit Graph

52 Commits

Author SHA1 Message Date
Chris
2e28fe17cd fix: player now properly responds to root motion
also contains changes to the animation controller for all the currently made animations, events for the singular attack animation, corresponding methods, and graph changes to utilize them
2026-01-07 01:10:59 -05:00
Chris
78573d9f5d Merge branch 'dev' into feature/player.basic-combat-pt2 2026-01-06 22:46:44 -05:00
Chris
338ff3bed4 feat: more attempted fixes for models and animations 2025-12-29 12:54:07 -05:00
Chris
a971f6f536 maint: moved environmentobserver to its own file 2025-12-09 15:19:26 -05:00
Chris
312d4da6b6 maint: ILockOnTarget moved to own file 2025-12-09 15:18:42 -05:00
Chris
26ceba2812 fix: non player units no longer rotate with camera 2025-12-06 18:29:42 -05:00
Chris
5f7179c861 fix: dragging units can no longer go haywire and yeet units off the map 2025-12-06 18:29:20 -05:00
Chris
7f3bfcffe7 fix: players now take damage offline 2025-12-05 20:37:46 -05:00
Chris
a0ed17666d feat: rebuilt dragging mechanic slightly, and it's now more agnostic to collider type 2025-12-05 20:37:06 -05:00
Chris
3525f5fc47 fixed: non-smoothed values now have their values applied properly (instantly, when set) 2025-12-03 17:54:45 -05:00
Chris
14ea2c64dc change: added repath timer to "new path" task 2025-12-03 17:29:45 -05:00
Chris
b19421adfc fix: target property is now used for setting a new pathfinding path. enemies do not stand still in combat. 2025-12-03 15:52:23 -05:00
Chris
4943c02125 fix: enemies now do not instantly enter combat after entering spawner ranger 2025-12-03 15:38:29 -05:00
Chris
cf70287797 maint: turned off the head moving for now 2025-12-02 17:57:18 -05:00
Chris
4bd307fba8 maint: renamed isPaused to fix overlap with nodecanvas variable 2025-12-02 17:57:00 -05:00
Chris
e49909580c changed: more tasks and states for changing pathfinding 2025-12-02 17:56:38 -05:00
Chris
30509b3714 added: new task script for allowing units to circle a target. Added to agent. 2025-12-02 17:36:55 -05:00
Chris
ea048be111 change: enemy combat/detection state now handled by the spawner 2025-11-22 14:15:58 -05:00
Chris
e7b72520c0 fix: readded playerfacingdirection temporarily to UnitFacingDirection.cs to resolve NodeCanvas issue with serialization on PlayerFSMs 2025-11-22 14:15:15 -05:00
Chris
d75946de65 fix: changes to FSM state string to better account for local players 2025-11-10 16:32:23 -05:00
Chris
88803c9b86 added: enemy target acquisition, better pathfinding, moved combat reference to unit 2025-11-10 16:07:51 -05:00
Chris
68fe0e3413 maint: moved movement reference to unit 2025-11-10 16:07:12 -05:00
Chris
fa810bf970 added: enemy target acquisition, better pathfinding, moved combat reference to unit 2025-11-10 16:06:21 -05:00
Chris
a6182cd066 added: some headtracking 2025-11-10 15:18:48 -05:00
Chris
fb515ed1cf feat: enemies spawn in spawn zones and wander on a graph 2025-10-24 13:03:16 -04:00
Chris
2203b0323b refactor: PlayerFacingDirection.cs renamed to UnitFacingDirection.cs 2025-10-23 21:56:58 -04:00
Chris
fd06b6c45b added: EnemyCombat.cs with reference to IUnitTargetProvider.UnitTarget 2025-10-23 21:55:44 -04:00
Chris
f1dee5c0e4 improv: UnitMovementHandler.cs uses IUnitDirectionProvider.cs for direction instead of input direction directly 2025-10-23 21:55:14 -04:00
Chris
958c57bdc0 improv: added IUnitDirectionProvider.cs for providing direction to UnitMovementHandler instead of PlayerControls 2025-10-23 21:49:14 -04:00
Chris
f4714db41b improv: UnitMovementHandler.cs now uses IUnitTargetProvider 2025-10-23 21:48:36 -04:00
Chris
129a5226c5 improv: added reference to movement for UnitComponent.cs 2025-10-23 21:48:05 -04:00
Chris
5ce787251d maint: enemy asset folder restructuring, animations added, animators added, created enemy spawners 2025-10-23 20:37:35 -04:00
Chris
47b4530dd0 maint: cleaned up some debug.log lines to fight log clutter 2025-10-23 18:08:06 -04:00
Chris
a83ab1156a maint: clean-up of some combat related classes and methods for clarity 2025-10-23 13:06:51 -04:00
Chris
eb1622d4ed added: revive ui bar 2025-10-22 11:24:58 -04:00
Chris
bd97b3eeb5 added: player dies if not picked up in time 2025-10-20 21:23:07 -04:00
Chris
0bb10a8f46 added: full logic and ability for downing and picking up allies 2025-10-20 16:36:23 -04:00
Chris
7628541758 added: get direction in local space from units 2025-10-20 13:47:49 -04:00
Chris
6d57b7bb56 added: new maru model and downed animation 2025-10-20 13:47:16 -04:00
Chris
0240f677c4 change: ownership can now be be changed on objects 2025-10-08 22:58:39 -04:00
Chris
7210ed71a9 maint: clean up for gameobject name change in player class 2025-10-08 22:56:43 -04:00
Chris
44e3a3ef7a added: units can now have their movement settings set through rpc 2025-10-08 22:55:55 -04:00
Chris
5886c9783b refactor: moved a lot of player related scripts to the Reset.Units namespace 2025-10-07 21:30:32 -04:00
Chris
21cf013c10 improv: lock on targeting debugging option (cont.) 2025-10-04 16:59:03 -04:00
Chris
3db3ca2776 change: player facing direction is now forced to "static" from "towardstarget" if there is no target. player always rotates towards target instead of only when moving 2025-10-04 16:57:32 -04:00
Chris
de460d9f0a improv: lock on targeting debugging option 2025-10-04 16:56:28 -04:00
Chris
1240afb051 added: go hard state and a melee combo for it 2025-10-04 15:40:13 -04:00
Chris
19f8662bad fix: modifications to direction handling for when move stick is pressed lightly 2025-10-04 15:39:10 -04:00
Chris
11f2ae26cc maint: moving around methods to work better with Unit/Player/Enemy classes 2025-10-04 13:47:32 -04:00
Chris
8a1d135138 change: added Unit layer (disabled self layer checking in observers, this will need to be fixed) 2025-10-04 13:46:50 -04:00