Set tangent at spline point not working!

Hi,
Please check the function Set tangent at spline point. Its producing garbage result. I have attached screenshot for the same.

I am setting a tangent using the set tangent at spline point. I have print the values before and after setting. It is expected that whatever i set should reflect when i read it back, which is not happening. Set location at spline point works. Also fyi the set tangent at spline point is set to world coordinate mode.


Hi Atin123,

Are you attempting to update the spline at runtime? Currently this is not possible. If not, please let me know what steps you are taking to reproduce this error on your end. In addition, does this occur in a clean, blank project with no additional content or is it limited to one project?

Hi Atin123,

We have not heard from you in several days. I am marking this as answered for tracking purposes. If you are still experiencing this error, please comment with the requested information.

Hi, yes i am updating the spline at runtime. It works when i use the world coordinate mode. it does not work when coordinate mode is set to local. Also in my project i am updating spline at runtime and it works fine only the local coordinate setting for tangent does not work. Please reproduce and check.
Thanks
Atin

Hi, yes i am updating the spline at runtime. It works when i use the world coordinate mode. it does not work when coordinate mode is set to local. Also in my project i am updating spline at runtime and it works fine only the local coordinate setting for tangent does not work. Please reproduce and check.
Thanks
Atin

Hi, yes i am updating the spline at runtime. set tabgent works when i use the world coordinate mode. it does not work when coordinate mode is set to local. Also in my project i am updating spline at runtime and only thing that does not work is the collision component of the spline mesh component, so have to build the collision component by myself. Is this feature will be supported in future?

Thanks
Atin

Hi i stopped using the function set tangent due to its large complicity. I have seen that spline tangent update automatically when user does not tries to set it, So i have let the spline tool itself set it to best possible shape instead of me setting the tangent. I now only update the location of spline component

Sorry i have deleted the code which was producing the error. I am only working on one project.

Do you have any specific steps I can take to reproduce this error on my end?

try using the set tangent at spline point with coordinate mode set to local. it was not working for me. Then i switched to world mode and converted all my calculation to world space by using absolute scale and all, then it worked.

hi i have not explained the problem properly when i read now. Sorry for the inconvenience. I wanted to say that Set tangent at spline point works when the coordinate mode is set to world but it doesn’t when it is set to local. And I am doing relative to world translation myself and it is correct as it is working for other parts.

Can you show me a screenshot of how you are setting this up and/or reproduction steps I can follow? I’ll be happy to take a look and see if I can reproduce this on my end.