ヘルプ センターヘルプ センター
剛体へのビジュアル ジオメトリ データの追加
addVisual(body,"Mesh",filename)
addVisual(body,"Mesh",filename,tform)
addVisual(body,"Mesh",filename) は、指定した .stl または .dae ファイル (filename) を使用して、現在の任意のビジュアル ジオメトリ上にポリゴン メッシュを追加します。1 つのボディに複数のビジュアル ジオメトリを追加できます。座標系は body の座標系と一致していると仮定されます。show を使用して、剛体ツリー全体のメッシュを表示できます。
body
filename
.stl
.dae
show
addVisual(body,"Mesh",filename,tform) は、ボディ座標系を基準としたポリゴン メッシュの同次変換を指定します。
tform
すべて折りたたむ
RigidBody
RigidBody オブジェクト。ハンドルとして指定します。rigidBody を使用して剛体オブジェクトを作成します。
rigidBody
メッシュ ファイルの名前。string スカラーまたは文字ベクトルとして指定します。このファイルは有効な .stl または .dae ファイルである必要があります。
データ型: char | string
char
string
ボディ座標系を基準としたメッシュ変換。4 行 4 列の同次変換として指定します。
R2017b で導入
addCollision | clearCollision | clearVisual | show | rigidBodyTree
addCollision
clearCollision
clearVisual
rigidBodyTree
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office