Search Unity

Self stabilizing rotation of a torus

Discussion in 'Physics' started by Thorce, Jul 3, 2019.

  1. Thorce

    Thorce

    Joined:
    Jul 3, 2019
    Posts:
    41
    So I have a controllable sphere in my game. Around that sphere I want to have a torus that rotates a
    few degrees in the direction the player is moving to.
    Basically the velocipods from The Incredibles but with a sphere in the middle.
    I tried it with Quaternion.SetLookRotation(Sphere.movement, Vector3.up) but that did not work.
    Apreciate every help :)