unity-3d-math
OfficialMaster Unity's 3D math for precision.
AuthorNice-Wolf-Studio
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses common and subtle errors in Unity's 3D math operations, ensuring your game logic is precise and avoids hard-to-debug issues related to coordinate spaces, rotations, and floating-point comparisons.
Core Features & Use Cases
- Coordinate Space Correctness: Differentiates between
TransformPoint,TransformDirection, andTransformVector. - Quaternion Safety: Prevents gimbal lock and direct component modification errors.
- Floating-Point Precision: Guides on using
Mathf.ApproximatelyandsqrMagnitudefor reliable comparisons. - Use Case: Prevent a character from rotating incorrectly due to gimbal lock by ensuring all rotations are interpolated using
Quaternion.Slerpinstead of Euler angles.
Quick Start
Use the unity-3d-math skill to correct the quaternion multiplication order when combining rotations.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: unity-3d-math Download link: https://github.com/Nice-Wolf-Studio/unity-claude-skills/archive/main.zip#unity-3d-math 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 223,000+ vetted skills library on demand.