Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Bug Error with LookAt Node and VFXEventAttribute

Discussion in 'Visual Effect Graph' started by JonathanLeFaucheur, Aug 4, 2022.

  1. JonathanLeFaucheur

    JonathanLeFaucheur

    Joined:
    Sep 12, 2019
    Posts:
    1
    I am trying to orient a Shape:Arc Cone toward a target position using the Look At Node.

    While using properties like this works fine :
    Properties.png


    When i try to connect properties from an event attribute i get an error and the graph doesn't compile :
    Event.png

    Here is the error message :
    For now my solution is to calculate the look At rotation in C# and send it to the graph in the event along with the positions but i would like to know if this is a bug or a limitation that is not documented.

    Thanks !
     
  2. Personuo

    Personuo

    Joined:
    Mar 19, 2014
    Posts:
    116
    "look at" only work with transform.
    So you can change orient in output block . mode set advanced and set axis z and y