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. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

How to roll a 3D Ball at the world axis in Unity Tiny

Discussion in 'Project Tiny' started by trumbongdem, Apr 7, 2022.

  1. trumbongdem

    trumbongdem

    Joined:
    Nov 9, 2016
    Posts:
    3
    I'm trying to roll a ball as it moving but I can't use "transform.Rotate(axis, angle, Space.World)". What can I use instead? By the way, does anyone have complete documentation on using Transform of Tiny?
     
  2. Arowx

    Arowx

    Joined:
    Nov 12, 2009
    Posts:
    8,194
  3. trumbongdem

    trumbongdem

    Joined:
    Nov 9, 2016
    Posts:
    3
    Thank for replying me, but in Unity Tiny is much different then in Unity Engine. I don't know how to use Transform in Unity Tiny.
     
  4. Arowx

    Arowx

    Joined:
    Nov 12, 2009
    Posts:
    8,194
    It's built into Tiny you just need to add a Translation component and set the move vector to which direction and how far you want the object to move.
    Struct Translation | Package Manager UI website (unity3d.com)

    Although as it's a ball your moving probably better to use physics and check out the physics examples.