Search Unity

Use velocity variation or MoveTransition with predefined upper/lower bounds

Discussion in 'Physics' started by Tetsubo, Jan 15, 2017.

  1. Tetsubo

    Tetsubo

    Joined:
    Jun 26, 2014
    Posts:
    40
    Hello Unity Community,

    for a 2d game I want to move a kinematic rigidbody as in the picture shown. It's similar to movement on sin/cos curve. What I have is max velocity, upper and lower border. How to code the movement, pls help?

    SinCosParameterized.png