xMin and xMax

posted to: Rocketship Movement

When I use the following

xMin 11

xMax -11 

It does not go as according to the video because the rocket  flickers but I tried to invert

So I did

xMin -11

xMax 11

and its fine except for inverted comands so when I press right it goes left and when I press left it goes right

  • Adrian Bellworthy replied

    Hey eefusiveslice,

    xMin should be negative and xMax should be positive. Negative is screen left and positive is screen right.

    Double check you have the script correct and the constraints on the rigidbody component.

    You mention it flickers, check the script towards the bottom, the update should be a fixedupdate.