SmartTools
Project library

Control guide · SmartTools Selector

Change a Rotation Value with JSON

Send an object name, a data path (which value), and a number as JSON, and that value is rewritten. This is the same processing that happens when a selector's slider changes a value.

Starting scene demonstrated on Suzanne

Steps

  1. Open "Bridge Actions" > "Custom Property Payload".
  2. Enter {"obj":"Suzanne","path":"rotation_euler[2]","value":0.8} in the JSON field.
  3. Click "Set Custom Property".

Follow the changes on screen