I want to create 7 stars rotating around a circle and all of the stars to rotate around their own origin points.
-
$\begingroup$ Does this answer your question? How do I animate an object to follow two paths at the same time? $\endgroup$– Marty FoutsCommented Jan 17, 2022 at 16:03
-
$\begingroup$ When you say you want the stars to "randomly rotate" do you mean each star should rotate at a fixed rate that's randomly selected or that the rotation should start and stop at random times or something else altogether? $\endgroup$– Marty FoutsCommented Jan 17, 2022 at 16:07
1 Answer
add a curve circle
add a mesh star
add object constraint "follow path" to your star, choose target "bezier circle"
hover cursor over "offset" and hit "I", go to frame 100, enter "100" in offset and hover cursor over "offset" and hit "I"
select mesh star
in object properties hit "I" while hovering your cursor over z-rotation
go to frame 100
enter 1080 (or any value you like) in z rotation and hit "I" again
now select the star, and hit "Shift D"
in your timeline, select your keyframes, hit G 20
- repeat step 9-10
if you want them to "rotate forever", hover cursor over timeline, press Shift-E -> linear extrapolation.
Do that for all stars.
or you try it with geometry nodes:
just add this node tree to any mesh object:
result:
In the "value node" you have to insert "#frame" -> this is a driver which output each frame as integer value.
-
1$\begingroup$ You should split it to two answers, no? Very nice as usual. $\endgroup$ Commented Jan 17, 2022 at 16:27
-
$\begingroup$ @MarkusvonBroady: Thank you very much!!!! I don't wanna spam SE... ;) $\endgroup$– ChrisCommented Jan 17, 2022 at 16:44
-
$\begingroup$ too late for that anyway ;) And seriously, I don't think there's a harm to that, I split my answers on occasion. $\endgroup$ Commented Jan 17, 2022 at 16:46
-
1$\begingroup$ Bless you kind sir for spending the time and giving me such a comprehensive answer. This is exactly what I needed. My best wishes to you $\endgroup$– atkaizerCommented Jan 17, 2022 at 16:48
-