seasick@lemmy.world to Godot@programming.dev · 2 days agoOrbiting kina failedfiles.catbox.moevideomessage-square2fedilinkarrow-up19arrow-down10file-text
arrow-up19arrow-down1videoOrbiting kina failedfiles.catbox.moeseasick@lemmy.world to Godot@programming.dev · 2 days agomessage-square2fedilinkfile-text
Wanted to have them orbiting while maintaining center alignment, didn’t fully work out ¯_(ツ)_/¯ But I do kinda like it
minus-squareunexposedhazard@discuss.tchncs.delinkfedilinkarrow-up3·2 days 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-squareseasick@lemmy.worldOPlinkfedilinkarrow-up1·edit-22 days 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 ^^