About 165 results
Open links in new tab
  1. unity - Apply transform.Translate to a specified object in the script ...

    Apr 1, 2019 · In Unity3D, if I place a C # script including transform.Translate on an object "A" in the hierarchy, it animates the translation of this object A. How in C# can I apply that …

  2. unity - What is the difference between transform.translate and ...

    16 transform.translate is not going to utilize the physics system (doesn't look for collisions when moving, ignores any current velocity, etc.), nor will it nessesarily be smooth movement (since …

  3. unity - How can I translate a game object towards a position?

    I want my spheres to move from one location to another. but I don't know how to do this. Update is called once per frame. Is that what I should use? I am using the free version of Unity; I don't …

  4. unity - Car driving through walls with transform.Translate ()

    Feb 17, 2018 · I need help with a script for a very simple car that uses transform.Translate: public class car1 : MonoBehaviour { public PauseMenu pause; [Space] public Car_Script car_s; …

  5. unity - In physics engines, what are the differences between …

    Mar 14, 2022 · At least, this is only true for its Transform component. As said above, a rigid body keeps track of its internal physics state, and so does in Unity. Transform.Translate() changes …

  6. Using Unity's `transform.translate ()` to translate relative to an ...

    Nov 15, 2015 · 0 I'm using transform.translate() to move an object around the world space, relative to the camera that is following it. The camera has an angle of 23 degrees on the X …

  7. How to move object on local space not object space in unity

    Feb 15, 2018 · 0 transform.Translate does something a little funny. The Space you select picks the directions that it moves the object, but doesn't scale the translation. The actual translation …

  8. Simultaneously translating and rotating sprite in Unity

    { transform.Translate (Vector3.right * Time.deltaTime); transform.Rotate (Vector3.back * Time.deltaTime); } } } For whatever reason, rotating left and right didn't work so I tried forward …

  9. unity - Change transform.localPosition to act like …

    Oct 28, 2020 · I expected move along local z axis (like in Unity scene preview), but it doesn't work as expected. transform.Translate(Vector3.up, Space.Self) works exactly as I want, but as I …

  10. Unity - Transform.RotateAround () + Transform.Translate () - Why …

    Jan 2, 2019 · Unity - Transform.RotateAround () + Transform.Translate () - Why is rotation offset created and how can it be fixed? Ask Question Asked 6 years, 10 months ago Modified 6 …