Research pedestrian-style spline locomotion for world workers - #33
Draft
SimGamerJen wants to merge 4 commits into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Builds directly on the reconciled Alpha 5 / HelperProfiles 2.1.1.0 development baseline and starts the next world-worker movement investigation inspired by FS25's smooth native pedestrians.
Native pedestrian/runtime research
HP_WorldPedestrianProbe.luaPedestrianSystem, likely mission/global instances, scenegraph pedestrian nodes, and available GIANTS spline APIshpWorld pedprobe [summary|system|globals|mission|spline|scene|all]Spline-guided movement prototype
HP_WorldSplinePath.luacreateSplineFromEditPointsHumanGraphicsComponentStateExperimental commands
hpWorld smoothcome [slot] [standOffMetres]hpWorld smoothgoto [slot] <x> <z>hpWorld smoothstop [slot]Why this approach
FS25 exposes runtime cubic spline creation plus world-space spline position/direction/distance queries. Native pedestrians are spline-driven. This prototype lets us test whether tangent-led spline execution gives HelperProfiles workers the same continuous-flow quality without replacing their identity/appearance/graphics stack.
First test focus
hpWorld pedprobeand capture the log; thenhpWorld pedprobe sceneif the summary does not reveal the live PedestrianSystem instance.hpWorld smoothcome Aand visually compare its initial turn and route flow with ordinaryhpWorld come A.hpWorld smoothstop Aduring movement.Release-baseline safety
This branch is based on the current reconciled Alpha 5 head, which is itself 0 commits behind
mainand retains HelperProfiles 2.1.1.0 Integration API v7, scoped preferred hiring, release metadata and management UI fixes. Alpha 6 changes only the two new modules and their loader entries.