Zh/$origin: Difference between revisions
< Zh
Jump to navigation
Jump to search
(Created page with "{{subst:#if: Translation of '$origin' to '中文' via Template:LanguageBar buttons * * * * * * * * * * * * * * * * * * * * * * * * * * * *...") |
No edit summary |
||
Line 1: | Line 1: | ||
{{wip}}{{translating}} | |||
{{LanguageBar}} | {{LanguageBar}} | ||
{{tabsBar|main=gs|base=$origin}} | {{tabsBar|main=gs|base=$origin}} | ||
{{this is a|QC command|name=$origin}} It adjusts the position (and optionally Z rotation) of a model within its own local space. During compiling, it will be offset by the X, Y, -Z and Z-rotation values provided. | {{this is a|QC command|name=$origin}} It adjusts the position (and optionally Z rotation) of a model within its own local space. During compiling, it will be offset by the X, Y, -Z and Z-rotation values provided. | ||
This is useful when adjusting | This is useful when adjusting {{L|Viewmodel|view models}}, for ensuring that models don't spawn inside the world, and helping in the arranging of clusters of separate models that need to be aligned precisely with each other (e.g. parts of a building). | ||
{{note|This command does not adjust positions of everything. It will adjust meshes, skeletons and | {{note|This command does not adjust positions of everything. It will adjust meshes, skeletons and {{L|$attachment}}s, but not anything else such as hitboxes ({{L|$hbox}}).}} | ||
{{note|$origin does not work if the model uses | {{note|$origin does not work if the model uses {{L|$includemodel}}.}} | ||
== Syntax == | == Syntax == | ||
Line 30: | Line 20: | ||
== See also == | == See also == | ||
* | * {{L|$autocenter}} | ||
* | * {{L|Origin}} | ||
{{ACategory|QC Commands|origin}} |
Revision as of 19:08, 18 April 2025

This page is actively undergoing a major edit.
As a courtesy, please do not edit this while this message is displayed.
If this page has not been edited for at least several hours to a few days, please remove this template. This message is intended to help reduce edit conflicts; please remove it between editing sessions to allow others to edit the page.
As a courtesy, please do not edit this while this message is displayed.
If this page has not been edited for at least several hours to a few days, please remove this template. This message is intended to help reduce edit conflicts; please remove it between editing sessions to allow others to edit the page.
The person who added this notice will be listed in its edit history should you wish to contact them.

This page is being translated.
You can help by finishing the translation.
If this page cannot be translated for some reason, or is left untranslated for an extended period of time after this notice is posted, the page should be requested to be deleted.
Also, please make sure the article complies with the alternate languages guide.
You can help by finishing the translation.
If this page cannot be translated for some reason, or is left untranslated for an extended period of time after this notice is posted, the page should be requested to be deleted.
Also, please make sure the article complies with the alternate languages guide.
$origin
是一个QC 命令 ,可在所有的 起源 游戏中使用。 It adjusts the position (and optionally Z rotation) of a model within its own local space. During compiling, it will be offset by the X, Y, -Z and Z-rotation values provided.
This is useful when adjusting view models , for ensuring that models don't spawn inside the world, and helping in the arranging of clusters of separate models that need to be aligned precisely with each other (e.g. parts of a building).


Syntax
$origin <x> <y> <-z> [z rotation]
Note that Z's value is reversed.