Introductory

Isaac Sim Add Simple Objects

Showcase the basic GUI functions that add simple objects to the stage, as well as inspecting and modifying their physics and material properties

Learning Objectives

This tutorial details how to add simple primary shapes to the scene and edits their properties
Add and manipulate simple shapes
Enable physics properties in objects
Examine collision properties
Edit physics properties such as friction
Edit material properties such as color and reflectivity

Getting Started

Prerequisites
Complete Isaac Sim Interface and Environment Setup Tutorial

Adding Objects to the Scene

(1)Start by adding a Cube to the stage as the mobile robot’s body
Omniverse_IssacSim123
Go to the Menu Bar
Click Create > Shapes > Cube
(2)Change the size of the cube
Omniverse_IssacSim124
Select the Cube on the Stage tree > Go to the Property tab > Find Geometry > Size
For now type in 1.0
(3)Move it above the ground and change its shape by using the gizmos
Omniverse_IssacSim125
Keep the property tab open for the cube
Movements by the gizmo are reflected in the object’s transform
Omniverse_IssacSim126
Change Shape
(4)Directly type into the property window to make your changes
Omniverse_IssacSim127
Fix the translation (Transform > translate) of the cuboid at (0, 0, 1), and the scale (Transform > Scale) at (2, 1, 0.5)
(5)Add cylinder and adjust the values
Omniverse_IssacSim128
Add a cylinder to the stage
Click Create > Mesh > Cylinder
Omniverse_IssacSim137
Change its Geometry > Radius to 0.5, and Geometry > Height to 1.0
Omniverse_IssacSim130
Place it at y = 1.5 and z = 1.0, and rotate it around the x-axis by 90 degrees
(6)Duplicate the cylinder we just made
Omniverse_IssacSim131
Right click it on the stage tree and Duplicate
Omniverse_IssacSim132
Move it to y = -1.5 while keeping all other parameters the same

Adding Physics Properties

Objects added first are only visual objects, with no physics or collision properties attached to them
Problem: Simulation is started by pressing Play and gravity is applied. But if started, objects do not move
Why?: They are unaffected by physics
Solution: Turn them into rigid bodies with collision properties, as a robot should be
(1)Test by playing Play
Omniverse_IssacSim133
(2)Select the Cube and both Cylinders on the stage tree by clicking while holding down the Ctrl + Shift key to select each object, or just Shift if they are consecutively listed on the tree
Omniverse_IssacSim134
(3)Add physics
In the Property tab > Click on the + Add button
Omniverse_IssacSim135
Select Physics > Rigid Body with Colliders Preset
(4)Press Play, and all three objects should now fall to the ground
Omniverse_IssacSim138
Rigid Body with Colliders Preset”: Automatically add both Rigid Body API and Collision API to the objects
These two APIs can be applied separately
Can have objects that have mass and are affected by gravity but have no collision properties, so you can pass right through them
Can have objects you can run into but hang in the air and are not affected by gravity
Check which APIs the selected object has
Omniverse_IssacSim139
Go to its Property tab > Scroll down to find sections labeled Rigid Body and Collider
Omniverse_IssacSim140
Add the APIs separately (Under the same + Add button)
Omniverse_IssacSim141
Remove APIs (Click on the X to delete the section)

Examine Collision Meshes

Need to visually examine the collision meshes for the objects
See the outlines of the collision meshes
Omniverse_IssacSim142
Find the eye icon on top of the viewport > Click Show By Type > Physics > Colliders > All
Omniverse_IssacSim143
Purple outlines should show up surrounding any objects that have collision APIs applied
Objects: cuboid, the cylinders, and the ground plane

Adding Contact and Friction Parameters

Modify frictional properties (1)First create a different physics material and then assign it to the desired object
Omniverse_IssacSim144
Go to the Menu Bar
Click Create > Physics > Physics Material
Select Rigid Body Material in the popup box
Omniverse_IssacSim145
->New PhysicsMaterial will appear on the stage tree

Material Properties

Objects may reflect the color of the spotlight we’ve added earlier, but it doesn’t actually have any colors assigned
Confirm it by turning off the spotlight
Change the color of the object
(1)Create a different material and then assign it to the objects, just like with the physics materials
Create two, one for the body of the car and one for the wheels
Omniverse_IssacSim146
Click Create > Materials > OmniPBR twice
(2)Rename materials
Omniverse_IssacSim147
Right-click on the newly added materials on the stage tree > Rename them to body and wheel
Assign the corresponding rigid bodies to the newly created materials
Omniverse_IssacSim148
Go to the Materials on selected models item in its Property tab > Select the matching material from the dropdown box
Omniverse_IssacSim149
cube
Omniverse_IssacSim152
cylinder & cylinder01
Omniverse_IssacSim153
Change the property of the new materials
Select one of them on the stage tree
body
Omniverse_IssacSim150
wheel
Omniverse_IssacSim151
Change its base color in Material and Shader/Albedo and play with its reflectivity roughness and whatever else you find interesting
You should see the color of the corresponding parts on the car change accordingly

Summary

Explained how to add and manipulate object properties in the GUI
Topics Covered
(1)Adding primitive shapes onto the Stage
(2)Editing material properties, physics properties, and collision properties

Reference:
https://docs.omniverse.nvidia.com/isaacsim/latest/gui_tutorials/tutorial_intro_simple_objects.html#isaac-sim-app-tutorial-intro-simple-objects