Using Occupy Nodes

The Occupy node is used to detect whether a Position Point of an MD Prop is occupied by a character and records the result in the Log Output list. The result can also be displayed in the 3D Viewport using a particle-effect text emitter.

  1. Create a project with a character, an MD prop and a particle-effect text emitter.
  2. Open the MP Node Graph panel. Right-click on the viewport space and choose Print Node > Occupy.

    A new Occupy node will be inserted on view.
  3. Drag a flow line from the Start node’s output and connect it to the Occupy node’s input.
  4. Select the node and adjust the settings in the Attributes page.

    • MD Prop: Select the MD Prop to detect (based on the root). The occupation status will be retrieved by this node.
    • Text Particle: If you want to use a particle emitter to display the occupation status, enable this checkbox, then select the emitter on stage using the drop-down list or the dropper tool.
  5. Connect a Go To node to the Occupy node’s output, then connect another Occupy node after the Go To node with same settings.
  6. Start the Go MD Mode to view the animation results.
  7. You can switch to the Log page to view the Log Output obtained by the Node. The emitter also displays the string from this list.
    1. Save Log: Save the log as a file (*.txt).
    2. Clear Log: Clear the data in the Log Output list.