Hi,
I’m going through the Getting Started chapters and I’m doing the Star Explorer game. I noticed that we use newAsteroid:setLinearVelocity(x, y) to move the asteroid objects and then use transition.to(obj, param) to move the laser fired.
Both of these methods are moving objects in the physics world that have colliding event listeners. So my question is if I am making a game that has obstacles moving across the screen from right to left at a constant velocity, no changes in speed, direction with zero friction then which one of these two methods would be better to use?
Thanks in advance!