wave5-local-to-world-read-only-contract
CommunityRead world transforms—never write LocalToWorld.
Software Engineering#spatial-queries#unity-dots#localtoworld#ecs-transforms#read-only-contract#transform-systemgroup#localtransform
AuthordyCuong03
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Prevents incorrect and unstable gameplay or spatial logic caused by writing to LocalToWorld or reading it at the wrong time in the ECS transform pipeline.
Core Features & Use Cases
- Read-only LocalToWorld contract: Use LocalToWorld to obtain world-space position/orientation for rendering, physics queries, and spatial calculations.
- Scheduling and freshness guidance: Avoid stale last-frame data by reading after TransformSystemGroup runs or accepting explicit latency.
- Correct motion ownership: Write movement via LocalTransform so TransformSystemGroup can compute and propagate LocalToWorld safely.
Quick Start
Ask your AI to refactor your system so that any world-space reads use in LocalToWorld (e.g., LocalToWorld ltw in IJobEntity) while all entity motion writes go through LocalTransform, scheduled to run after TransformSystemGroup.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: wave5-local-to-world-read-only-contract Download link: https://github.com/dyCuong03/unity-agent-team/archive/main.zip#wave5-local-to-world-read-only-contract Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.