Search Unity

Spring joint connected to character controller, position limits

Discussion in 'Editor & General Support' started by Nirvan, Feb 13, 2014.

  1. Nirvan

    Nirvan

    Joined:
    Nov 16, 2013
    Posts:
    134
    Hi, I made script which creating spring joints when target object collide with rigidbody and connect it to character controller,
    When I go far from object to which I connected targets, I want to stop player in correct distance.

    This image describes my problem:
    http://s28.postimg.org/t2tcjk6bh/springs.jpg

    Can someone help me?
    Thanks.
     
  2. DeveloperGullu

    DeveloperGullu

    Joined:
    Jan 22, 2021
    Posts:
    1