Introducing OSC2 Studio v0.0.2 — Smarter Execution, Better Preview
· 2 min read
This release focuses on stabilizing vehicle control in the execution engine, alongside important frontend updates.
Execution Engine — More Reliable Vehicle Control
v0.0.2 brings key improvements to several drive action modifiers:
- Change lane (change_lane): No longer relies on the internal tracing system — lane changes are handled directly and more reliably. The simulation engine now supports smooth lane changes with no instant jumps.
- Speed: Fixed a calculation anomaly in the dynamic solver and added safety strategies to prevent unrealistic speed values.
- Position: Now supports specifying following distance by time (
time:parameter) — distance is automatically calculated based on vehicle speed at runtime. - Road selection: Random road selection has been replaced with iterative verification, preventing placement failures on roads that are too short.
- Cross-road distance: New cross-road distance calculation eliminates distance errors when vehicles change lanes across road boundaries.
Initial vehicle placement has also been improved — when multiple vehicles maintain following distances, the system performs a holistic analysis of all constraints to ensure every vehicle gets a valid position.
Frontend — Landing Page Restructure
The frontend now supports a three-entry-point structure:
- English landing page
/— default entry - Chinese landing page
/zh/— for Chinese-speaking users - Application page
/app/— the main editor
The default language has been switched from Chinese to English. Language preference is remembered automatically across visits.
Performance — Faster Page Load
This release also brings significant performance improvements that make the website load noticeably faster:
- Efficient asset compression: All JavaScript, CSS, and static files are now compressed using one of the web's most efficient compression algorithms. File sizes are reduced by over 70%, so pages load in a fraction of the previous time.
- Smaller demo videos: The demo videos on the landing page have been re-encoded, reducing file sizes by over 70% with no visible quality loss. Videos start playing faster, especially on slower connections.
