Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Using RotateAround

Discussion in 'Scripting' started by dublylnklist, Jan 11, 2016.

  1. dublylnklist

    dublylnklist

    Joined:
    Jan 11, 2016
    Posts:
    2
    sorry for my poor english skill firstly.

    i'm making simple solar system using RotateAround for orbiting satellite around the planet.

    as you know, it makes object to face around another object.

    when i make a 3D Text as its child and edit the text for the name of a satellite,

    the text rotate around with satellite.

    i want to make the text rotate around with satellite but not facing pivot point because it makes hard to read.

    please let me know how can i do this.
     
  2. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,840
    There are many ways to do this, but the easiest is probably to add a billboard script to your text object. This will make it always face the camera.
     
    dublylnklist likes this.
  3. dublylnklist

    dublylnklist

    Joined:
    Jan 11, 2016
    Posts:
    2
    Thanks I will try this :D