add the instructions for: Setting up the Rigid Bodies

This commit is contained in:
Mamadou Babaei
2024-08-16 16:44:32 +02:00
parent eb69306ed1
commit 2a636323c4
5 changed files with 34 additions and 0 deletions
@@ -117,4 +117,26 @@ However, if you're looking to get up and running with the SenseGlove Unreal Engi
![Importing the Virtual Hand Meshes into Your Own Project - Saving all virtual hand mesh assets confirmation](import-virtual-hand-meshes-fbx-save-all-confirm.png "Importing the Virtual Hand Meshes into Your Own Project - Saving all virtual hand mesh assets confirmation")
## Setting up the Rigid Bodies
1. Open the Physics Asset for the left virtual hand mesh by double-clicking it in the Content Browser. This will open the PhAT (Physics Asset Tool) editor, where the virtual hand mesh for the left hand will appear with a default physics body, usually shaped as a capsule.
![Setting up the Rigid Bodies - The Unreal PhAT Editor](rigid-body-setup-phat-editor.png "Setting up the Rigid Bodies - The Unreal PhAT Editor")
2. In the `Tools` panel, under the `Body Creation` section, locate the `Primitive Type` dropdown and select `Box` instead of the default `Capsule` shape. Then, click the `Generate All Bodies` button at the bottom of the `Tools` panel to create a new physics body.
![Setting up the Rigid Bodies - Generating a Box physics body](rigid-body-setup-generate-box-physics-body.png "Setting up the Rigid Bodies - Generating a Box physics body")
3. After generating the new body, some adjustments are required for optimal interactions inside your VR simulations. Press the `r` key on your keyboard to enter scaling mode and use the arrows to resize the physics body. To reposition the body, press the `w` key to switch to translation mode. For adjusting the rotation, press the `e` key. Toggle between these modes as needed to fine-tune the physics body to your requirements.
![Setting up the Rigid Bodies - Adjusting the generated physics body](rigid-body-setup-adjusting-physics-body.png "Setting up the Rigid Bodies - Adjusting the generated physics body")
4. You can always revisit and adjust the rigid body later after testing its impact in your VR simulations. For now, save the asset and close the PhAT editor.
![Setting up the Rigid Bodies - The adjust phsyics body](rigid-body-setup-adjusted-physics-body.png "Setting up the Rigid Bodies - The adjust phsyics body")
5. Repeat the same procedure for the right virtual hand mesh.
## Setting up the Hit and Overlap Events
## Setting up the SenseGlove Grab and Touch Sockets