Hello!
I am wondering if there is a way to retrieve the velocity vector from a rigidbody and store its x,y,z components within separate floats.
I have looked through the Unity classes, the closest to what I need is this:
But I need to store the vector components in order to apply a change over time.
I would store the components as floats from the original code, but they are applied with a coroutine, retrieving the data from a .csv file. So with every different line, the x,y,z components are different for every particle. So I need to retrieve them separately on each particle.
Any tips or suggestions would be great! Thank you in advance! If you need any more information, let me know!