0
$\begingroup$

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

$\endgroup$
1
  • $\begingroup$ Do u want to traverse smoothly b/w bunch of points? $\endgroup$ – HariSreedhar Dec 4 '20 at 2:45
0
$\begingroup$

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

enter image description here

$\endgroup$
6
  • $\begingroup$ perfect. You're a star. $\endgroup$ – mindlessfrog Dec 4 '20 at 8:21
  • $\begingroup$ 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? $\endgroup$ – mindlessfrog Dec 4 '20 at 8:24
  • $\begingroup$ Can u explain bit more? What do u mean by object id? $\endgroup$ – HariSreedhar Dec 5 '20 at 6:01
  • $\begingroup$ Sorry .....In my final dataset I will have ~500 objects that move around an XY plane independently and concurrently. $\endgroup$ – mindlessfrog Dec 5 '20 at 21:22
  • $\begingroup$ 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. $\endgroup$ – mindlessfrog Dec 5 '20 at 22:12
0
$\begingroup$

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

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.