making object move forward
hi
i need some guidance please. i am trying to make an object move upwards. i have done this successfully using the following code:
transform.position += transform.up playerspeed Time.deltaTime;
however now what i am trying to achieve is to make it move upwards but in a zigzag motion. however every time the object respawns the path of the zig zag is different. how would i go about to achieve this?
thanks
Comment
Your answer
Follow this Question
Related Questions
Obstacle Spawner Efficiency 0 Answers
Moving hand with coordinates from file 0 Answers
Need help with specifics in Random.Range 1 Answer
Random Object Spawn 0 Answers
Why is AddRelativeForce not adding force to player? 0 Answers