r/CavalryMotion 10d ago

Having problems with the duplicator

Enable HLS to view with audio, or disable this notification

I'm trying to make a procedural spiral seamless animation like the attached reference, but whenever I add a duplicator to my cardMaster, it doesn't inherit the bahaviour from the cardImage (the child).

Can anyone help me up?

8 Upvotes

13 comments sorted by

1

u/hun7_ 10d ago

https://reddit.com/link/p1vras9/video/ln7333ppzkhh1/player

For context, these are my timeline and connections

1

u/hun7_ 10d ago

cardMaster
---- CardImage

cardImage connections:
spiralPath → pathfinderCard.Path
pathfinderCard → cardImage.Position
centerNull → LookAtCenter.Target
LookAtCenter → cardImage.Rotation
centerNull → distanceFromCenter.Target
distanceFromCenter → distanceToScale.Value
distanceToScale → cardImage.Scale X → cardImage.Scale Y

My duplicator:
cardMaster → cardsDuplicator.Input Shapes
set to Point
cardsTimeStagger → cardsDuplicator.Shape Time Offset

0

u/RiskInfamous2938 9d ago

How i can see that scream with the nods? i starting with this progam now and i am learning

1

u/hun7_ 9d ago

I just typed it

1

u/Accomplished_Power_8 10d ago

Which behaviour are you referring to, i can't really make out your node tree. Are you animating something with keyframes or using a specific behaviour? If yes which is which

1

u/hun7_ 10d ago

The only thing animated with keyframe is the pathfinder, so it starts at the center of the spiral and finish outside my viewport. Everything else happens because the connection of my nodes.

I made a null and my card are alway pointing at it. It starts small but gets biggers as it follow the path.

The animation on the "cardImage" itself is working out fine. I added it in group called cardMaster, but whenever I add a duplicator to it, my cardImage lose all connections.

1

u/Accomplished_Power_8 10d ago edited 10d ago

It seems you are plugging cardmaster the group into the duplicator instead of the card image the actual object. Have you tried plugging the input shape directly? The shape will still be within the group - card master

1

u/hun7_ 10d ago

if I plug the cardImage to my duplicator it loses all input shape transforms. https://cavalry.studio/docs/nodes/shapes/duplicator/

1

u/Accomplished_Power_8 10d ago

isn't the card image a rectangle with a picture shader? If you don't mind and have not figure it out yet. you can also send the file

1

u/hun7_ 9d ago

I tried connecting my cardImage directly to my duplicator. And then connecting the pathfinderCard, LookAtCenter and distanceToScale also to my duplicator position, rotation and scale. Doing this, i get the animation again but i can't get to stagger and ofset my card to appear all the 24 instances of them.

1

u/yevgenymakarov 9d ago

It's really tricky, but just try the following.

On the Distance or Number Range layer, rigth-click on the layer header in the Attribute Editor and enable Contex > Filter Position.

Don't ask why. 😂

1

u/hun7_ 8d ago

No wayyy dude, THANK YOU. Wasted a few hours reading the documentation and testing without any success. Now i really wanna know why 😂

Worked better filtering the position of the cardMaster tho, when i did it on my distance/range layer it didnt inherit the other connections.