Problem
When directly following some transit vehicles, especially subway or train vehicles, the first-person camera can attach near rail level and around the center of the vehicle instead of using the expected front/eye-level placement.
Observed behavior
- The issue can happen when selecting a vehicle directly, not only when following a person who enters a vehicle.
- Subway follow can feel like the camera is on the rails.
- The camera can appear centered in the vehicle instead of forward-facing near the front.
Initial code evidence
The follow transform uses train-style positioning when EntityFollower.TryGetPosition() detects train navigation, but the offset selection depends on CameraDataModel.ScopeVehicle. CameraTransformer.CheckForVehicleScope() may classify an individual train/subway car as VehicleType.Unknown, so the train positioning path can run with the small default offset.
Likely files:
EntityFollower.cs
Transformer/CameraTransformer.cs
Transformer/FinalTransforms/FollowEntityFinalTransform.cs
Acceptance criteria
- Directly following subway/train vehicles uses the intended train/subway vertical and forward offset.
- Vehicle type resolution works for individual cars and controller/root vehicles.
- Camera placement remains stable after long play sessions and repeated follow transitions.
- Local playtesting covers subway/train, bus, and ordinary road vehicle follow.
Problem
When directly following some transit vehicles, especially subway or train vehicles, the first-person camera can attach near rail level and around the center of the vehicle instead of using the expected front/eye-level placement.
Observed behavior
Initial code evidence
The follow transform uses train-style positioning when
EntityFollower.TryGetPosition()detects train navigation, but the offset selection depends onCameraDataModel.ScopeVehicle.CameraTransformer.CheckForVehicleScope()may classify an individual train/subway car asVehicleType.Unknown, so the train positioning path can run with the small default offset.Likely files:
EntityFollower.csTransformer/CameraTransformer.csTransformer/FinalTransforms/FollowEntityFinalTransform.csAcceptance criteria