roblox-physics
Skill by gamedev-skills
Guides an AI assistant through Roblox physics and spatial queries, including assemblies, constraints, collision groups, raycasts, overlap queries and network ownership. It is for Roblox developers building projectiles, vehicles, knockback and hit detection.
Install roblox-physics
Built from the published package, never by AI.
git clone --depth 1 https://github.com/gamedev-skills/awesome-gamedev-agent-skills /tmp/awesome-gamedev-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/awesome-gamedev-agent-skills/skills/other-engines/roblox-physics ~/.claude/skills/roblox-physicsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/gamedev-skills/awesome-gamedev-agent-skills /tmp/awesome-gamedev-agent-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/awesome-gamedev-agent-skills/skills/other-engines/roblox-physics ~/.gemini/antigravity-cli/skills/roblox-physicsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The roblox-physics skill helps an AI assistant implement physical simulation and spatial queries in Roblox. It covers assemblies, anchoring, constraints, collision groups, the CanCollide, CanTouch and CanQuery flags, raycasts, overlap queries, forces, impulses and network ownership. It asks the assistant to pick a mechanism before choosing an API, and it includes filtered server raycast and overlap patterns.
The skill also covers replacing deprecated BodyMovers with constraint-based movers. Its workflow checks assembly and collision facts through the Studio MCP server or the Command Bar during play. Hit legitimacy is left to the roblox-networking skill, and character locomotion to roblox-characters. It suits Roblox developers working on projectiles, vehicles, knockback and hit detection.
Written from the project's SKILL.md and checked against it.
What it can do
- Mechanism selectionChooses simulation, impulses, kinematic motion or a query based on the goal.
- Collision group policySets up a collision-group matrix and the CanCollide, CanTouch and CanQuery flags separately.
- Filtered server raycastProvides a raycast pattern with RaycastParams that excludes the shooter's character.
- Overlap volume queriesProvides an OverlapParams pattern that deduplicates results by model.
- Assembly-level motionUses LinearVelocity, AngularVelocity, VectorForce, AlignPosition and AlignOrientation.
- Network ownership guidanceSets ownership deliberately and calls SetNetworkOwner(nil) for critical objects.
- execute_luauRuns Luau on the Server datamodel to print assembly mass, ownership and collision facts.
- get_console_outputReads console output after a test run to confirm the printed results.
- BodyMover migrationHelps replace deprecated BodyPosition, BodyVelocity and BodyGyro with constraint-based movers.
- Cost and lifetime boundsReuses query params, caps query frequency and cleans up constraints and attachments together.
What you need
- Roblox Studio
- Studio MCP server (optional, for execute_luau and get_console_output)
Try asking
- Make my projectile raycast ignore the shooter's character and the weapon's own parts.
- Replace the BodyVelocity in my vehicle script with a constraint-based mover.
- Why does my welded mechanism not move? Check its assembly in Studio.
Good to know
- BodyMovers such as BodyPosition, BodyVelocity and BodyGyro are deprecated.
- The PhysicsService collision-group methods are deprecated in favour of Workspace or WorldModel methods.
- Bounds queries test bounding boxes and can return several parts per target.
- Fast movers, ownership hand-off and two-client interaction need a Server & Clients run.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/other-engines/roblox-physics/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md9 KB -
agents/openai.yaml199 B -
references/queries-and-ownership.md4 KB
Alternatives to roblox-physics
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
roblox-physics: common questions
Does this skill decide whether a hit counts?
No. The source says hit legitimacy is a server validation decision owned by roblox-networking, and this skill supplies the queries it uses.
Can Touched be used for hit detection?
The source says .Touched is neither reliable nor secure as a hit detector, and recommends server queries instead.
Which BodyMovers are deprecated?
The source lists BodyPosition, BodyVelocity, BodyGyro and others as deprecated in favour of constraint-based movers.
How do I install roblox-physics?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is roblox-physics free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is roblox-physics safe to use?
It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to roblox-physics?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
