@seasick@lemmy.world to Godot@programming.dev • 3 months agoOrbiting kina failedfiles.catbox.moemessage-square2fedilinkarrow-up19arrow-down10
arrow-up19arrow-down1playOrbiting kina failedfiles.catbox.moe@seasick@lemmy.world to Godot@programming.dev • 3 months agomessage-square2fedilink
Wanted to have them orbiting while maintaining center alignment, didn’t fully work out ¯_(ツ)_/¯ But I do kinda like it
minus-square@unexposedhazard@discuss.tchncs.delinkfedilink3•3 months agoJust looks like the value for rotation speed is off a bit no? Hard to tell how you coded it from the vid alone.
minus-square@seasick@lemmy.worldOPlinkfedilink1•edit-23 months agoNo, I believe the issue was an error in my formula/thinking. Had to use atan2 instead of cos to find the correct rotational value. Clip is a few days old, so I’m not too sure about the cos thing ^^
Just looks like the value for rotation speed is off a bit no? Hard to tell how you coded it from the vid alone.
No, I believe the issue was an error in my formula/thinking. Had to use
atan2
instead ofcos
to find the correct rotational value. Clip is a few days old, so I’m not too sure about thecos
thing ^^