Info based on trails. motiontracking
Hello, I am trying to extract info based on trails that my car leaves. I have set my car to leave the trails in occasion of braking, steering wheel>4 (maybe not optimal, if you think I need to change it let me know), and when acceleration is opposite of velocity (user presses backward button while we move forward). If I was given only the trails, I would like to calculate the initial position, speed ,etc. Video : https://www.reddit.com/r/Unity3D/comments/qud3tc/info_based_on_trails_motiontracking/ One of my ideas is to extract and use int numberOfPositions = GetComponent().GetPositions(TrailRecorded); from trailrender script,but i don't know what to do with them. I believe I could somehow track down the the beginning of the skidmark and move backward on the axis based on physics equations.