10-10-2022, 07:23 AM
Hi
Been doing a bit of c# scripting in Tyflow but Im struggling to figure out couple of things
A. How download a c# library and use it through through the "additional c" assemblies" in script operatror. What file formats should i look for, *.cs or *.dll and where should i place them, alongside maxfile or can reference by normal path ala c:/myassembly.dll?
B. When trying to rotate particles in script op i always run into the Quaternion wall - I simply cant make those Quats do what i want. Googling I find methods like CreateFromAxisAngle(Vector3,Single) which makes sense to me define an axis and rotation amount, BUT it doesnt seem to work in script operator.
Where i found the CreateFromAxisAngle method
https://learn.microsoft.com/en-us/dotnet...em-single)
Been doing a bit of c# scripting in Tyflow but Im struggling to figure out couple of things
A. How download a c# library and use it through through the "additional c" assemblies" in script operatror. What file formats should i look for, *.cs or *.dll and where should i place them, alongside maxfile or can reference by normal path ala c:/myassembly.dll?
B. When trying to rotate particles in script op i always run into the Quaternion wall - I simply cant make those Quats do what i want. Googling I find methods like CreateFromAxisAngle(Vector3,Single) which makes sense to me define an axis and rotation amount, BUT it doesnt seem to work in script operator.
Where i found the CreateFromAxisAngle method
https://learn.microsoft.com/en-us/dotnet...em-single)