Reply To: Possible [BUG] Transform.SetParent Methods not keeping global orientation

Forums 💬 NodeCanvas ⚙️ Support Possible [BUG] Transform.SetParent Methods not keeping global orientation Reply To: Possible [BUG] Transform.SetParent Methods not keeping global orientation

#16539
Gavalakis
Keymaster

    Hello there,

    Hmm. I just rechecked the Execute Function and works correctly. If you use the SetParent overload with the “WorldPositionStays” parameter, then it will use that. You will of course need to set the “WorldPositionStays” to true 🙂

    What version of the Execute Function are you using? (“Multiplatform” or “Standalone”).
    Are you seting the “WorldPositionStays” directly, or is it linked to a Blackboard variable? If linked, are you certain the variable is true at runtime and when the function is called?

    Let me know.

    Thanks.