Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    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.