Skip to content

Adding or Modifying Behaviors to Objects

jsutlive edited this page Apr 25, 2023 · 1 revision

Introduction

You can easily modify your simulations by adding and removing components from different physics entities. The following tutorial will explain how.

Tutorial

To start, select a physics object or group of objects with the mouse or by selecting a group from any assigned groups.

Select entity

When the objects are selected, go to the selection menu at the top of the application, or in the system bar if using OSX. Click "Add Component" to bring up the submenus listing available components which can be added. For this tutorial, we'll be adding the laser ablation behavior, found under "Experiments". Click "Laser Ablation" to add the component.

Go to selection menu and add component

The component should now be added. If "Laser Ablation" is not available in the list of behaviors in the inspector panel, you may need to scroll down. If it still isn't visible, make sure you're still selecting the same physics object as in the start of this tutorial.

New behavior visible in inspector

We can enable/ disable behaviors by clicking the checkbox here. An enabled behavior (checkbox marked) will act during the simulation. If you don't want a behavior to be active, simply uncheck the box to have the simulation ignore it.

Enable/disable behaviors

We can delete behaviors entirely by clicking the red "X". This removes the behavior from the simulation.

Remove behaviors

Clone this wiki locally