Q.
「AddForce」、「AddTouch」などの関数を使用して物理効果を与える場合、そのターゲットを指定することは可能でしょうか?
When applying physics effects using functions such as “AddForce”, “AddTouch”, etc., is it possible to specify the target?
A.
「AddForce」などのスクリプト関数は、「Physics」モディファイアが適用されたすべてのメッシュに適用されます。
特定のメッシュを指定して関数を適用することはサポートされていません。
特定のメッシュにのみ物理効果を与えたい場合は、「AddTouch」のような関数よりも「制御パラメータ」と「Morphモディファイア」で特定のメッシュに効果を与える方が効果的でしょう。
ボーンを追加した後、そのボーンをスクリプトまたは制御パラメータに移動する方法も検討してください。
これは3Dゲームで主に使用する方法です。
Script functions like “AddForce” will apply to all meshes with the “Physics” modifier applied.
Applying functions to specific meshes is not supported.
If you want to apply physics to specific meshes, it would be more effective to apply the effect to specific meshes with “Control Parameters” and “Morph Modifiers” rather than functions like “AddTouch”.
You can also consider adding a bone and then moving that bone with a script or control parameters.
This is a common method used in 3D games.