GltfAmmoBodies Op

GltfAmmoBodies

Create physics bodies from a GLTF File


<p>When working with a GLTF scene with lots of geometry objects you can use this operator to filter your entire GLTF scene for object names and create a collision mesh. </p> <p>For example if you created a model of a house, and then create a simplified set of objects representing the collision meshes for the walls and floors - name the simple collision meshes with a prefix like &quot;Collision_&quot; and then use this operator and put in the word &quot;Collision&quot; in the Filter Meshes paramter and just like that all of your many collision meshes will be considered as physics objects inside your cables project.</p> <p>###Problems with rotations, wrong collision meshes?</p> <p>Here is a tip about preparing GLTF scene geometry: When using Blender or another software to prepare your GLTF scene for your cables physics simulations it is required you apply all of your transforms, scaling and rotations on your objects.</p> <p>In Blender, you can simply select all objects with CTRL-A and click Apply All Transforms in the top menu.</p>


Full Name
  • Ops.Extension.AmmoPhysics.GltfAmmoBodies
Visibility
  •  Extension Op - Visible to all users
License
  • MIT
AuthorgithubMaintained by Team


INPUT PORTS


Exec (Trigger)
Shape index (Number:

<i>integer</i>

)

Filter Meshes (String)

<p>phrase to find your physics objects in a GLTF scene</p>

Mass kg (Number)

<p>mass of your physics objects</p>

Active (Number:

<i>boolean</i>

)

OUTPUT PORTS


Meshes (Number)

Patches using GltfAmmoBodies

  • Examples
  • Public
  • My Patches

Changelog


created opuser avatarpandur - 2022-03-30 13:48
Ops.User.pandur.GltfAmmoBodies renamed to Ops.Dev.GltfAmmoBodiesuser avatarpandur - 2022-03-30 14:30
Ops.Dev.GltfAmmoBodies renamed to Ops.Physics.Ammo.GltfAmmoBodiesuser avatarpandur - 2022-05-09 11:52
renameOps.Physics.Ammo.GltfAmmoBodies renamed to Ops.Extension.AmmoPhysics.GltfAmmoBodiesuser avatarpandur - 2023-09-14 09:39