I have used the script to move an object using CSV. Can it be modified to include rotation as well? Can this be done using one imported file, or is it best with two imported files. One for Location the other for Rotation.
The object needs to move and rotate using all csv coordinates.
import bpy import csv f = start_frame = 1 frames_per_row = 10 csv_path = "C:/Book3.csv" ob = bpy.context.object with open(csv_path) as file: csv = csv.reader(file, delimiter=",") for row in csv: ob.location = [float(v) for v in row[:3]] ob.keyframe_insert("location", frame=f) f += frames_per_row