I have three nodes: the world, the player, and the "player vision". Both the world and the vision of SKShapeNodes and my player use their own subclass of SKShapeNode. When I move the world, the whole player moves with him, however, when I move the player, the vision of the node remains fixed in his position. What could be the reason for this?
This is my player class:
class Character : SKShapeNode { var vision : SKShapeNode var spinning = false init(size: CGSize) { vision = SKShapeNode()
source share