Search Unity

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:
    2
    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:
    129
    "look at" only work with transform.
    So you can change orient in output block . mode set advanced and set axis z and y