Adding a keyframe for the position of a procedurally generated object

Hey all,
In this example, several UV spheres are animated along a nurbs path using the following geometry nodes setup.
How do I add key frames for the position coordinates of these procedurally generated spheres? thanks in advance.

Hey there and welcome…

Your animation is already parametric… so you shouldn’t need to keyframe anything…

What are you trying to accomplish that requires position keyframes?

Hi, if you want to slide the generated spheres at different speeds, and to specify which sphere is where at any point in time, you might want to use objects and constraints for that. Especially if there’s a small number of them. Otherwise you can branch out your entire “Animate” block with a switch node, and make the condition satisfy an index number (if sphere number 1, use this specific animated factor).

@zeroskilz @Hadriscus
Hi, I was initially trying to have these spheres as rigid bodies and have them interact with a force field, but since they’re procedurally generated, i don’t know if it’s possible in the first place. So i was hoping to insert key frames for a couple of positions for each sphere instance, apply the geometry nodes modifier and then add the rigid body physics.

You’re correct in assuming its not possible. Unfortunately, there is little interop between GN and the physics system. From my understanding, you’re basically left to your own devices to try and solve it in Simulation Nodes which isn’t easy.

I have enough experience with trying to “realize” GN animations to know that I don’t know how to do it… hopefully someone who has managed to achieve that can help out.

@moshus, maybe that script you wrote back in the feedback days could help?

Sorry.

@zeroskilz I’ll just try to do it in another way without using geo nodes, which might be tough to accomplish. I’m basically hoping to create a blood clot animation, it’s based on a tutorial excluding the clotting part. Thanks for trying to help, i appreciate it. :slight_smile: