New answers tagged

4 votes

remaking Pong in Godot but the opponent AI cannot locate the ball's coordinate correctly

In the Godot editor, I made the silly mistake of placing the Sprite and CollsionShape nodes far away from the (0,0) origin point....
buzzbuzz20xx's user avatar
1 vote

How to rotate spaceship quaternion to face target direction with constant angular speed?

I got it. I was nearly there for ages, and flipping the multiplication on the final statement (rotationToApply * orientation, not orientation * rotationToApply) fixed it. Apparently whether you are ...
Tachytaenius's user avatar
0 votes

How to rotate spaceship quaternion to face target direction with constant angular speed?

There's many approaches, but since you're not worried about final orientation, the easiest approach is just to use a cross product. If you take the cross product between the enemy's current LOS and ...
Cort Ammon's user avatar
  • 1,197

Top 50 recent answers are included