10 Commits

Author SHA1 Message Date
Arnaud Jamin 4c615ae10d Mutiple fixes
Fix shipping build by reworking Cog integration (now use a subsystem)
Fix crash when stopping and restarting in the editor
2025-05-13 13:30:21 -04:00
Arnaud Jamin 6d9494b685 Major Change - Rework how Cog gets integrated
Cog integration has been reworked to make it easier,  to keep Cog available between level loadings, and to properly tick ImGui while the game is paused.
Cog 's WindowManager is now a GameInstanceSubsystem.
The WindowManager ticks ImGui and the windows during the OnWorldPostActorTick delegate.
(If this is not working for your project, don't hesitate to open an issue.)

Check the readme to see how to integrate Cog.

The Plot debug functions (displayed by the Engine/Plot window) have been reworked as they were not properly working in Multi PIE in Single Process.

API changes:
- use FCogDebug::Plot instead of FCogDebugPlot::PlotValue
- use FCogDebug::InstantEvent  instead of FCogDebugPlot::PlotEventInstant
- use FCogDebug::StartEvent instead of FCogDebugPlot::PlotEventStart
- use FCogDebug::StopEvent instead of FCogDebugPlot::PlotEventStop
2025-02-11 13:29:12 -05:00
Arnaud Jamin 4f3bdf1753 CogSample: Add trace for cog selection 2025-02-06 02:25:00 -05:00
Arnaud Jamin 6fe4806b02 Improve debug draw collision function to draw each hit bones in a skeletal mesh. Was previously drawing a box around the hit actor for each bone. 2025-01-08 16:09:47 -05:00
Arnaud Jamin 34da6c96a6 Fix CogSample UI menu not working 2024-12-31 21:54:57 -05:00
Arnaud Jamin dd20cff959 CogEngine: improve collision tester 2023-12-30 01:28:01 -05:00
Arnaud Jamin 315782183d CogSample: progress on projectiles 2023-10-30 01:11:48 -04:00
Arnaud Jamin 42ca1afc6a Cog Sample: Adding more gameplay
Cog Sample: Make Area a component instead of an actor
Cog Sample: Add Basic actor for Projectiles, Areas, etc...
Cog Sample: Start to add Projectile
Cog Sample: Start to add SpawnPrediction
2023-10-26 12:33:50 -04:00
Arnaud Jamin 28cef19935 Add spawning window 2023-10-02 15:28:35 -04:00
Arnaud Jamin 1aabdb5c4e First Submit 2023-10-02 01:32:41 -04:00