用户反馈:自由路径动画起点物体沿前进轴旋转90°(侧滚), 期望像地面路径一样只转向前进方向、仅绕垂直轴旋转。 根因:TryCreateFreePathRotationForFrame/AtStart 用了 CanonicalRailPoseBuilder(完整三维姿态,forward=3D切线), 会绕前进轴滚动。改为 CanonicalPlanarPoseBuilder (forward=切线水平投影,up=世界up,只转yaw)。 撤销此前 ShouldPreservePathRotationForFrames 让 Free 保留姿态的改动。 同步更新 FreePathTests 断言(斜路径投影水平、纯垂直无水平方向返回false)。 257 单测全过。 |
||
|---|---|---|
| .. | ||
| AliasTreeTests.cs | ||
| CornerTurnCheckHelperTests.cs | ||
| FreePathTests.cs | ||
| PathHelperTests.cs | ||
| PathPersistenceTests.cs | ||
| PathPlanningManagerHoistingCompletionTests.cs | ||
| PathRouteCloneTests.cs | ||
| SelectionClipBoxLockStateTests.cs | ||