Integrate source airborne tilt and logical-root rendering

This commit is contained in:
UnixNight committed 2026-11-05 10:19:12 -05:00
1 parent a61f1b0284
commit 27be8ed630
36 files changed
+1953 -62

No files matched your search

+4
View File
@@ -151,6 +151,10 @@ foreach (var kind in new[] { "3CAM", "3MCA", "3AIT" })
var bag = new SceneInventory(new int[19]); bag.SetState(0, 3, 1); bag.SelectGadget(3);
using var binding = new PlayerSceneBinding(scene, body, bag, "JIM1");
for (var tick = 0; tick < 5; tick++) binding.Step(new(true, false, false, false, false));
//Full Euler sync now reflects the ground input's leveling. Seed the authored
//tilt immediately before the command to isolate preparation ownership.
body.ApplyAuthoredTransform(body.ActorRoot,new Vector3(12,body.Yaw,0));
scene.SyncActor("JIM1",body.ActorRoot,body.Rotation);
var callbacks = new List<ScriptPreparation>();
scene.ActorPreparing += (actor, action) =>
{