Commit graph

2 commits

Author SHA1 Message Date
93b8fae66b bot: fix slow/unsteerable driving + controls tooltip
Diagnosis (agent + live values): tuning & tread geometry were fine, debugAutoDrive
off — the real drag was the box chassis sliding on default ~0.6 friction, which ate
forward speed AND resisted yaw (dead steering).
- Bot_LowFriction physics material (0.3, Minimum combine) on the chassis → slides +
  yaws freely.
- TreadPart yaw-assist (220 N·m, sign reinforces natural differential) so a throttle
  difference gives a clear turn; cancels to zero on equal throttle (straight kept).
- SeatManager: context-aware controls tooltip under the seat box (on-foot vs driving),
  with a 'turn: differ vs teammate' hint.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-12 21:20:05 +01:00
36a69b1eda M1: wire shove ball + follow camera into M1_Arena
- ShoveBall: in-scene NetworkObject sphere (1.5m, 10kg, drag 0.5) at
  (0,0.75,6), host-authoritative via NetworkRigidbody/NetworkTransform,
  ShoveBall.physicsMaterial (friction 0.4/0.5, bounce 0.3). No script.
- FollowCamera on Main Camera, target=Bot, offset (0,8,-12).
- Solo host smoke test passed: ball spawns + rests on ground + shoves;
  camera frames the bot.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-12 17:19:10 +01:00