我正在尝试将实体指向3D矢量。 (基本上设置实体角度,以便它指向3D空间中的位置)。目前,我坚持从矢量中获取角度。 //Vectors in the bracket are 3D, first is the entity position, second is a position in space where I want to point at.
(myEntity.Pos - posToP
这是我第一次使用点,并且在初始设置Point2D对象的位置时,我似乎遇到了一个问题。这里是我的代码片段: public class Circle {
private Ellipse2D circle;
private int radius,speed=4,direction;
private Color color;
private Point2D.Double loc=null;
pr