Search Unity

How to rotate 2 objects async to eachother?

Discussion in 'Scripting' started by soulreafer22, Jan 16, 2022.

  1. soulreafer22

    soulreafer22

    Joined:
    May 12, 2015
    Posts:
    15
    can someone explain how to solve the following situation?:

    i try to rotate Objekt A on my mouse input. when Objekt A reaches degree X in both directions Objekt B follows the rotation.

    i want this to rotate my player. so i want to rotate the chest first and follow this rotation with the legs after angle X.
    Screenshot 2022-01-16 181055.png
     
  2. alexeu

    alexeu

    Joined:
    Jan 24, 2016
    Posts:
    257
    if i understand, you want to animate your player using rotations. Actually, you want to make your own movement controller. is it?
     
  3. soulreafer22

    soulreafer22

    Joined:
    May 12, 2015
    Posts:
    15
    yeah somehow. the rotation of the character is not the point/problem. i just want to rotate the spine bones in LateUptate and when the upper body spine has rotated a couple degrees the feed bones will start to Lerp rotate aswell
     
  4. soulreafer22

    soulreafer22

    Joined:
    May 12, 2015
    Posts:
    15
    alexeu likes this.