🧰
Developer
  • ENGAGE SDK overview
  • Setting up the ENGAGE SDK
    • Registering as an ENGAGE developer
    • Setting up your local git repository
    • Installing the Unity Editor
    • Opening the ENGAGE SDK Unity project
    • Checking for SDK updates
    • Installing a platform build module
  • ENGAGE SDK project folders
  • General guidelines for 3D models
    • Optimizing 3D models
  • Locations
    • Guidelines for locations
    • Creating a new location
    • Building a location bundle
    • Testing a location locally on Windows
    • Configuring an object as a teleport target
    • Configuring the start position
    • Seats
      • Creating a seat
      • Using the summon to seat system
    • Network states
      • Network State Manager
      • Location Network States
      • Example network state configurations
        • Network state toggle object
        • Network state animation start/stop
        • Network state change animation
          • Creating an animation in Unity
          • Using Animator.Play(string)
          • Defining Animator transitions
          • Using Animator.SetTrigger(string)
        • Network state sync animation
        • Network state position toggle
        • Network state automatic door
        • Network state toggle skybox
        • Network state change materials
    • Adding grabable objects to a location
      • Resetting network objects with a button
      • Resetting network objects when out of bounds
    • Locations reference information
      • Basic requirements for a location
  • Immersive Effects (IFX)
    • Guidelines for IFX
    • Creating an IFX
    • Building an IFX bundle
    • Testing IFX locally on Windows
    • Specialized IFX
      • Animated IFX
        • Animation overrides
          • Legacy animations
          • Animator animations
          • Configuring additional Effect Life Run Control properties
      • Audio IFX
      • Interactive IFX
  • List of available prefabs
  • Available scripts
    • External Video Player
  • Profiling
  • Publishing to ENGAGE
    • Publishing checklists
    • Pushing files to your GitHub repository
  • AFX
    • Getting started
      • Changelog
    • AFX Graphs
      • Creating an AFX graph
      • Editing an AFX graph
      • Navigation and keyboard shortcuts
      • Adding an AFX graph to a game object
      • Nodes
      • Ports
      • Connections
      • Flows
        • Starting a flow
        • Using multiple flows
        • Chaining flows
        • Controlling flows
      • References
      • Using AFX Events
    • Networking AFX
      • Network State Modules
      • Ownership of networked objects
    • Animation curves
    • Node dictionary
      • ENGAGE
        • AFX Companion
          • Constant Collision
          • Grab Object
          • PathData
        • Networking
          • Network State Modules
        • Physics
        • Player
        • Seat
      • Events
        • Collision
        • Unity
        • AFX Events
      • Flow
      • Reference
      • Unity
        • Component
          • Animation
            • Set Parameters
          • Audio
            • Audio Reverb Zone
            • Audio Source
          • Collider
          • FX
          • Rendering
            • Camera
            • Light
            • Material
          • UI
        • Constraint
        • GameObject
        • Input
        • Physics
          • Raycast
            • Layer Mask
          • RigidBody
            • Joint
              • Hinge
              • Spring
          • Wheel Collider
        • Time
        • Transform
          • Get
          • Set
          • Space Switching
      • Variable
        • Bool
        • Comparison
        • Float
        • Int
        • List
        • Math
          • MathF
        • String
        • Unity Component
        • Vector
          • Quaternion
          • Vector2
          • Vector 3
            • Vector3 Math
    • Sample graphs
Powered by GitBook
On this page
  • Get Tracked Rotation
  • Get Euler Angles
  • Get Local Position
  • Get Local Scale
  • Get Position
  • Get Rotation
  1. AFX
  2. Node dictionary
  3. Unity
  4. Transform

Get

PreviousTransformNextSet

Last updated 7 months ago

Get Tracked Rotation

Measures the rotation around a given axis since the first activation of the node.

Inputs:

Name
Type
Description

Enter

Flow

Initiating flow.

Transform In

Transform

Reference to a transform.

Parameters:

Name
Type
Description

Axis

List

The X, Y, or Z axis to track rotation around.

Outputs:

Name
Type
Description

Exit

Flow

Continuation of the initiating flow.

Rotation Degree Count

Float

The number of degrees that the transform has rotated around the given axis since the first activation of the node. On first activation, Rotation Degree Count is 0. On all subsequent activations, Rotation Degree Count is the change since first activation.

Example:

The following graph updates a float component every 5 seconds with the number of degrees that the transform has rotated around the Y axis.

Get Euler Angles

Extract rotation from the transform in Euler angles.

Inputs:

Name
Type
Description

Transform In

Transform

Reference to a transform.

Local

Boolean [editable]

If true, the output is the object's local rotation. If false, the output is the object's rotation relative to world space.

Outputs:

Name
Type
Description

Euler Angles Out

Vector3

Rotation in Euler angles.

Get Local Position

Extract a local position from a transform.

Inputs:

Name
Type
Description

Transform

Transform

Reference to a transform.

Outputs:

Name
Type
Description

Local Position

Vector3

The local position of the transform.

Get Local Scale

Extract a local scale from a transform.

Inputs:

Name
Type
Description

Transform

Transform

Reference to a transform.

Outputs:

Name
Type
Description

Local Scale

Vector3

The local scale of the transform.

Get Position

Extract a world space position from a transform.

Inputs:

Name
Type
Description

Transform

Transform

Reference to a transform.

Outputs:

Name
Type
Description

Output

Vector3

World space position.

Get Rotation

Extract a world space rotation from a transform.

Inputs:

Name
Type
Description

Transform In

Transform

Reference to a transform.

Outputs:

Name
Type
Description

Rotation Out

Quaternion

World space rotation.

Example graph to track a transform's rotation every 5 seconds