Search Unity

Throw Object 3D: Mobile & Desktop ☄️ Advanced Throwing System — Unity Asset

Discussion in 'Assets and Asset Store' started by makaka-org, Jun 19, 2018.

  1. makaka-org

    makaka-org

    Joined:
    Dec 1, 2013
    Posts:
    1,023
    Last edited: Mar 13, 2022
  2. makaka-org

    makaka-org

    Joined:
    Dec 1, 2013
    Posts:
    1,023
  3. makaka-org

    makaka-org

    Joined:
    Dec 1, 2013
    Posts:
    1,023
  4. makaka-org

    makaka-org

    Joined:
    Dec 1, 2013
    Posts:
    1,023
    ⭐ Throw Object 3D — 4.0 — HUGE Update — Unity Asset

    https://makaka.org/o/throw-control

    This version adds performance improvements by more effective handling of materials, shaders, fading & caching, so it's incompatible with previous versions of Asset.

    — Improve Dissolving (Fading) VFX. Separate Independent Script for Throwing Objects: MaterialControl.cs — so you can use it for Fading outside Throwing System (Examples: Ring, Ring Holder, Net, Backboard, Pole in AR Basketball GO (https://makaka.org/o/ar-basketball-go) & Basketball Game (https://makaka.org/o/basketball)).
    — — 1 Material Instead of 2: No Memory Allocation while Fading.
    — — 3 Custom Shaders with Shadow Fading & “Slice Guide” Texture for Fading:
    — — — Diffuse,
    — — — Bumped Diffuse,
    — — — Particles Cutout Transparent — for Transparent Textures (Example: Net in AR Basketball GO (https://makaka.org/o/ar-basketball-go) & Basketball Game (https://makaka.org/o/basketball)).
    — — Fading In & Fading Out with Full Control of Value, Delay, Time & Speed for Indicated Shader Parameter.

    — Add public event Actions for Each Trowing Object in ThrowingObject.cs:
    — — OnThrow;
    — — OnResetPhysicsBase.

    — Improve all public Events in ThowControl.cs: add ThrowingObject as a parameter. So you have more flexibility with access to instances of ThrowingObject.cs in outer functions assigned to Events.

    — Add a Custom MonoBehaviour field in ThrowingObject.cs: it is useful to assign a specific control script for a unique type of Throwing Object and access to it outside the Throwing System. Example: BasketballBallControl.cs in AR Basketball GO (https://makaka.org/o/ar-basketball-go) & Basketball Game (https://makaka.org/o/basketball).

    — Now SetMaterial() function is used instead of SetColor() functions all over the system to avoid memory allocations. So if you plan to change Colors of Throwing Objects in Runtime outside Throwing System you need to create Materials with Target colors in advance. Example: Red Fail Material in AR Basketball GO (https://makaka.org/o/ar-basketball-go) & Basketball Game (https://makaka.org/o/basketball).

    — Unity 2019.3:
    — — Fix Mesh Collider of Horseshoe.

    Unity Asset Store: https://makaka.org/o/throw-control
    Docs: https://makaka.org/unity-assets/throw-object
     
  5. makaka-org

    makaka-org

    Joined:
    Dec 1, 2013
    Posts:
    1,023
  6. makaka-org

    makaka-org

    Joined:
    Dec 1, 2013
    Posts:
    1,023
  7. therewillbebrad

    therewillbebrad

    Joined:
    Mar 2, 2018
    Posts:
    151
    Does the basketball assset include the updated version of throw object 3D? It looks like it was last updated in 2019. Thanks!
     
  8. makaka-org

    makaka-org

    Joined:
    Dec 1, 2013
    Posts:
    1,023
    Hi, changelog of Basketball asset you can see here, including version of Throw Object 3D.
     
  9. makaka-org

    makaka-org

    Joined:
    Dec 1, 2013
    Posts:
    1,023
  10. makaka-org

    makaka-org

    Joined:
    Dec 1, 2013
    Posts:
    1,023
    Last edited: Feb 4, 2022
  11. makaka-org

    makaka-org

    Joined:
    Dec 1, 2013
    Posts:
    1,023
  12. makaka-org

    makaka-org

    Joined:
    Dec 1, 2013
    Posts:
    1,023
    Throw Object 3D — 5.0— Update (Docs)

    Features:
    • Dynamic and Unified Operating of Data for Different Throwing Objects (example with using outside the Throwing System: AR Throw & Score (docs)):
      • audioDataCustom – Array for Customizing Collisions with different surfaces (e.g., floor, wall) or for Any Custom Game Logic; merged with deprecated Whoosh Audio. Access from ThrowControl.cs or ThrowingObject.cs with PlayRandomSoundDependingOnSpeed() function.
      • materialDataCustom (MaterialControl.cs) – Array for Material Changing for Any Custom Game Logic (e.g., fail, win). Access from ThrowControl.cs or ThrowingObject.cs with SetMaterial() function.
    • RandomObjectPooler.cs: Split areRandomizedObjects boolean flag into 2 flags:
      • areRandomizedObjectsWhenCreating – when you need a random instance count of possible Throwing Object prefabs every Scene Start.
      • areRandomizedObjectsWhenGetting – when you require a random Throwing Object instance for every Throw.
    • Retrieving Count of Throwing Objects with ThrowControl.cs > GetObjectCount().
    • Tools for Debugging the Center of Mass Visually in Unity Editor. If the Center of Mass by Default is not correct, you can use these tools for improving Center of Mass with Custom value.
    Improvements:
    • Unity 2021.2.13.
    • Instantiating Throwing Objects at Start outside the Game Area in target positionAtInit (RandomObjectPooler.cs) — Avoid Collisions between Throwing Objects and with Other Physical Objects more accurately:
      • Split Reset of Position:
        • On Init – to Target Position at Instantiating.
        • On Throw – to Camera Position.
      • Split Layer Changing option into 2 stages & 3 states:
        • On Init,
        • On Throw & On Reset.
    • Consolidating the Same Code of Registering Throwing Object in Throwing System into RandomObjectPooler.cs.
    • ThrowControl.cs > OnInitialized() Event is raised more accurately: in the correct frame after all operations.
    • Shovel Throwing Object: Custom and Accurate Collider for Shovel.
    • Unified Menu Scene for All Scenes.
    • Loading Animation for Start Buttons.
     
  13. makaka-org

    makaka-org

    Joined:
    Dec 1, 2013
    Posts:
    1,023
    Throw Object 3D — 5.1— Update (Docs)

    Improvements:
    1. Unity 2021.2.16.
    2. Opportunity to use a Target Audio Source when Playing Sounds from audioDataCustom related to Throwing Object with public void PlayAudioRandomlyDependingOnSpeed(int index, bool isStoppedBeforePlay, AudioSource audioSource = null) & ThrowingObject.cs. Example: Basketball Game (docs).
     
  14. makaka-org

    makaka-org

    Joined:
    Dec 1, 2013
    Posts:
    1,023
    Throw Object 3D — 5.2— Update (Docs)

    Features:
    • Opportunity to Set a target prefab/prefabs of Throwing Objects before Initialization outside Throwing System with the next functions of ThrowControl.cs (it’s used in AR Basketball (docs) due to different ball prefabs for different AR Engines: AR Foundation & AR Camera Lite (docs)):
      • public void SetPrefabBeforeInit(GameObject gameObject),
      • public void SetPrefabsBeforeInit(GameObject[] gameObjects).
    Improvements:
     
  15. makaka-org

    makaka-org

    Joined:
    Dec 1, 2013
    Posts:
    1,023
    It's a Unity App with Throw Object 3D (Docs) on WebGL for Mobiles.

    ------------------------------------------------------------------------------------------------------


    Unity-WebGL-Throw-Object-3D-Asset-Lanscape.jpg
    Unity-WebGL-Throw-Object-3D-Asset-Portrait.jpg


    ---------------------------------------------------------------------------------------------------------

    > Complete Article about WebGL Building and Testing for Mobiles <

    ---------------------------------------------------------------------------------------------------------

    Video Tutorial about Mobile WebGL: