0

I am implementing a one dimension movement along the x axis.

The objects are moving but they are in the wrong directions

Code for moving the scene

self.obstacles.position.x -= speed // obstacles = objects
self.map.position.x -= speed // map is the scene
Wraithseeker
  • 1,884
  • 2
  • 19
  • 34

1 Answers1

0

It turns out I forgot to attach my nodes to the worldCamera node.

Wraithseeker
  • 1,884
  • 2
  • 19
  • 34