Back to search
ExampleCamera

Create a Blueprint for a car turntable that auto-rotates and allows mouse drag to manually rotate the car

Updated 3mo ago1 look-ups
UE 5.4UE 5.7#turntable#car#configurator#orbit#automotive

Blueprint JSON

The structure WoalzCraft generates. Paste into the plugin to instantiate as a real Blueprint.

{
  "nodes": [
    {
      "id": "n_tick",
      "position": {
        "x": 0,
        "y": 0
      },
      "node_type": "EventTick"
    },
    {
      "id": "n_branch",
      "position": {
        "x": 200,
        "y": 0
      },
      "node_type": "Branch"
    },
    {
      "id": "n_get_auto",
      "position": {
        "x": 50,
        "y": 100
      },
      "node_type": "GetVariable",
      "variable_name": "bIsAutoRotating"
    },
    {
      "id": "n_get_speed",
      "position": {
        "x": 200,
        "y": 200
      },
      "node_type": "GetVariable",
      "variable_name": "AutoRotateSpeed"
    },
    {
      "id": "n_multiply",
      "position": {
        "x": 400,
        "y": 100
      },
      "node_type": "Multiply_FloatFloat"
    },
    {
      "id": "n_make_rot",
      "position": {
        "x": 600,
        "y": 100
      },
      "node_type": "MakeRotator"
    },
    {
      "id": "n_add_rot",
      "position": {
        "x": 800,
        "y": 0
      },
      "node_type": "AddActorWorldRotation"
    }
  ],
  "variables": [
    {
      "name": "AutoRotateSpeed",
      "type": "float",
      "default_value": "15.0"
    },
    {
      "name": "bIsAutoRotating",
      "type": "bool",
      "default_value": "true"
    },
    {
      "name": "ManualRotateSpeed",
      "type": "float",
      "default_value": "0.5"
    }
  ],
  "connections": [
    {
      "to_pin": "execute",
      "to_node": "n_branch",
      "from_pin": "then",
      "from_node": "n_tick"
    },
    {
      "to_pin": "Condition",
      "to_node": "n_branch",
      "from_pin": "bIsAutoRotating",
      "from_node": "n_get_auto"
    },
    {
      "to_pin": "execute",
      "to_node": "n_add_rot",
      "from_pin": "then",
      "from_node": "n_branch"
    },
    {
      "to_pin": "A",
      "to_node": "n_multiply",
      "from_pin": "Delta Seconds",
      "from_node": "n_tick"
    },
    {
      "to_pin": "B",
      "to_node": "n_multiply",
      "from_pin": "AutoRotateSpeed",
      "from_node": "n_get_speed"
    },
    {
      "to_pin": "Yaw",
      "to_node": "n_make_rot",
      "from_pin": "ReturnValue",
      "from_node": "n_multiply"
    },
    {
      "to_pin": "DeltaRotation",
      "to_node": "n_add_rot",
      "from_pin": "ReturnValue",
      "from_node": "n_make_rot"
    }
  ],
  "parent_class": "Actor",
  "blueprint_name": "BP_CarTurntable"
}