I’m working on a project for school, I couldn’t figure out how to build the thing using primitives in C#, so I asked my professor and he said I could use Unity instead. I’m using the first project in the 2D unity course as inspiration, but the way I need to move my car is by position according to a JSON file updating from Firebase. Essentially, there are 4 sensors, and we have bluetooth beacons that represent the cars. The Json file is going to tell us how far away each car is from the 4 sensors and we triangulate it’s position. I already have the algorithm for triangulation of position, what I need is to figure out how to get Unity move the car based on that position on Update, rather than using transform.translate.
How do I update position?