0

Newby question for the Anination Nodes experts if I may...

Trying to visualise time-sequence data for a series of objects that move in X & Y. I have used some of the great answers here to get close but I have 2 problems;

  1. I can extract the new destination from a line and move the object but it just jumps rather than smoothly animated from where it was last to where it is moving to. Tried to hack it with a Annimate vector node but cant loop the Result vector back to the Start vector.

  2. I can not convice the extacted object_ID to connect to the object connector of the "object Transforms Output" node.

Sure what I have done so far will make you cringe but hey ho, just learning. Eventual data will have ~500 Object ID's and 5000 odd moves for each one so automating this would be awesome.

Hope someone can help. Thanks

Screen shot of nodetree

2 Answers2

0

Create a Vector List from csv. Then traverse through points using Mix Vector List.

enter image description here

Harisreedhar
  • 3,054
  • 7
  • 11
  • perfect. You're a star. – mindlessfrog Dec 04 '20 at 08:21
  • Pushing my luck a little here but ..... How do I now do this concurrently for multiple objects where the object id is in the line of text? – mindlessfrog Dec 04 '20 at 08:24
  • Can u explain bit more? What do u mean by object id? – Harisreedhar Dec 05 '20 at 06:01
  • Sorry .....In my final dataset I will have ~500 objects that move around an XY plane independently and concurrently. – mindlessfrog Dec 05 '20 at 21:22
  • For each cycle of a simulation, I will report the current position of each device. So my dataset will have 4 fields; Simulation_Cycle,DeviceID,X,Y. Every 50 frames I will select the next simulation cycle and set a new destination for each blender object that represents one of the devices. The devices move in a smooth animation to the new destination over the 50 frames until the next update. Any clues would really help, thanks a lot. – mindlessfrog Dec 05 '20 at 22:12
  • I think creating one more loop for every object would be enough. can u show me a how a sample dataset looks like? – Harisreedhar Dec 06 '20 at 06:33
0

Just came across this python script on the forum and it works really well to do exactly what I was after so thought I should share.
Keyframing specified object location at frame from csv data

Thanks @HariSreedhar for the help