- Home /
Question by
mr1630 · Oct 02, 2019 at 11:28 AM ·
translation
Translate object based on time and xyz data from a CSV file
Hey guys, I am a student in transportation engineering and "unity" is totally new to me. As a part of my research, I generate a vehicle trajectory file which contains vehicle positions(XYZ) and corresponding time stamps. Right now I am trying to simulate vehicles in the unity based on coordinates and corresponding times. Could anybody help me with this topic? As a reference, I am going to attach my trajectory file here.
time x y z
-9809450.956 3588288.144 0
-9809450.957 3588291.738 0
-9809450.958 3588295.341 0
-9809450.959 3588298.951 0
-9809450.96 3588306.197 0
-9809450.961 3588309.833 0
-9809450.962 3588313.477 0
-9809450.963 3588317.128 0
-9809450.965 3588324.457 0
-9809450.966 3588328.134 0
-9809450.967 3588331.819 0
-9809450.968 3588335.512 0
-9809450.97 3588342.923 0
-9809450.971 3588346.637 0
-9809450.972 3588350.347 0
-9809450.973 3588354.049 0
-9809450.975 3588361.429 0
-9809450.976 3588365.106 0
-9809450.977 3588368.775 0
-9809450.978 3588372.436 0
-9809450.98 3588379.733 0
-9809450.981 3588383.37 0
-9809450.982 3588386.998 0
-9809450.983 3588390.617 0
-9809450.984 3588397.832 0
-9809450.985 3588401.427 0
-9809450.986 3588405.014 0
-9809450.987 3588408.592 0
-9809450.989 3588415.724 0
-9809450.99 3588419.278 0
-9809450.991 3588422.823 0
-9809450.998 3588426.36 0
Comment
Your answer

Follow this Question
Related Questions
Translation problem 1 Answer
Problems with Translating Java in C# 1 Answer
Translation issue 1 Answer
Sprite rotation (z-axis) and translation (y) is not working 1 Answer
Offset position to a target 3 Answers