Difference between revisions of "Drive/ja"
(Created page with "'''ドライブ'''は、値をを継続的に制御します。") |
(Created page with "値をドライブすることと、値をwrite(ライト)することは全く違います。") |
||
Line 4: | Line 4: | ||
==概要== | ==概要== | ||
− | + | ドライブされているプロパティは、インスペクタウィンドウで紫色に表示されます。ドライブされているプロパティの値を直接変更することはできず、変更しようとしても効果はありません。プロパティには、同時に1つのドライブしか設定できません。 | |
ドライブしているものを直接見つけることは、今のところできません。 | ドライブしているものを直接見つけることは、今のところできません。 | ||
Line 10: | Line 10: | ||
==細かいこと== | ==細かいこと== | ||
− | + | 値をドライブすることと、値をwrite(ライト)することは全く違います。 | |
− | + | プロパティにライトすると、セッション内の他のすべての人に新しい値を知らせることになります。これは、ライトが最初にネットワーク上で同期する必要があることを意味します。これは、非常に頻回に値をライトする場合に特に問題となることがあります。複数の人が同時にライトと、さらに悪化する可能性があります。 | |
− | + | 値をドライブすると、その値を制御するために別の値を使用するようにゲームに指示することになります。これはネットワークトラフィックを伴わないため、レイテンシーに依存しません。 | |
− | + | しかし、これは不一致を引き起こす可能性があります。各ユーザーは、プロパティのビューを制御することができます。[[Local User (LogiX node)|Local User]]を[[User Username (LogiX node)|User Username]]に入力し、その出力でテキストフィールドの内容をドライブすると、各ユーザーは''自身の''ユーザー名を見ることができます。 | |
This is often quite useful. However, this can also cause unwanted divergence: some LogiX nodes, like [[Constant Lerp (LogiX node)|Constant Lerp]], are handled locally by each user. This can cause two people to disagree on the state of the world. | This is often quite useful. However, this can also cause unwanted divergence: some LogiX nodes, like [[Constant Lerp (LogiX node)|Constant Lerp]], are handled locally by each user. This can cause two people to disagree on the state of the world. | ||
Line 26: | Line 26: | ||
A very common way to create a drive is to use the LogiX Tooltip to create a drive node. For more details, see the [[LogiX Overview]] page. | A very common way to create a drive is to use the LogiX Tooltip to create a drive node. For more details, see the [[LogiX Overview]] page. | ||
− | + | 多くのコンポーネントは、ドライブするための値を取ることができます。[[ValueCopy]]は、あるプロパティから値を読み取り、その値で別のプロパティをドライブします。制御したいプロパティの名前を取ってきて、ドロップするだけです。 | |
(editor's note: not ready for translation yet; still making lots of changes!) | (editor's note: not ready for translation yet; still making lots of changes!) |
Revision as of 21:05, 6 February 2022
ドライブは、値をを継続的に制御します。
概要
ドライブされているプロパティは、インスペクタウィンドウで紫色に表示されます。ドライブされているプロパティの値を直接変更することはできず、変更しようとしても効果はありません。プロパティには、同時に1つのドライブしか設定できません。
ドライブしているものを直接見つけることは、今のところできません。
細かいこと
値をドライブすることと、値をwrite(ライト)することは全く違います。
プロパティにライトすると、セッション内の他のすべての人に新しい値を知らせることになります。これは、ライトが最初にネットワーク上で同期する必要があることを意味します。これは、非常に頻回に値をライトする場合に特に問題となることがあります。複数の人が同時にライトと、さらに悪化する可能性があります。
値をドライブすると、その値を制御するために別の値を使用するようにゲームに指示することになります。これはネットワークトラフィックを伴わないため、レイテンシーに依存しません。
しかし、これは不一致を引き起こす可能性があります。各ユーザーは、プロパティのビューを制御することができます。Local UserをUser Usernameに入力し、その出力でテキストフィールドの内容をドライブすると、各ユーザーは自身のユーザー名を見ることができます。
This is often quite useful. However, this can also cause unwanted divergence: some LogiX nodes, like Constant Lerp, are handled locally by each user. This can cause two people to disagree on the state of the world.
This is usually not a problem if the system you're using is inherently convergent. Constant Lerp trends steadily towards its target value; if everyone has the same target value, then everyone will eventually agree on the output.
Creating Drives
A very common way to create a drive is to use the LogiX Tooltip to create a drive node. For more details, see the LogiX Overview page.
多くのコンポーネントは、ドライブするための値を取ることができます。ValueCopyは、あるプロパティから値を読み取り、その値で別のプロパティをドライブします。制御したいプロパティの名前を取ってきて、ドロップするだけです。
(editor's note: not ready for translation yet; still making lots of changes!)