Throw Object 3D is highly customizable Advanced Throwing System for Unity.
Just throw anything!
AR Basketball GO 2.0 includes Throw Object 3D.
Basketball Game 3D includes Throw Object 3D.
Throw Object 3D — 4.0 — HUGE Update — Unity Asset
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 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 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 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 Basketball.
— Unity 2019.3:
— — Fix Mesh Collider of Horseshoe.
Throw Object 3D — 4.2 — Update
v4.2 provides:
- Unity 2021.1 support.
- Optimization: TextMesh PRO for all texts.
Throw Object 3D — 4.2 is included New AR Bundle 2.1.
Does the basketball assset include the updated version of throw object 3D? It looks like it was last updated in 2019. Thanks!
Hi, changelog of Basketball asset you can see here, including version of Throw Object 3D.
v4.3 changelog:
- New Platform: WebGL Support (Tested in Google Chrome);
- Unity 2021.1.12;
- Fix Dissolving VFX
New Use Case of Throw Object 3D.
Features:
-
Dynamic and Unified Operating of Data for Different Throwing Objects (example with using outside the Throwing System:
-
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.
Improvements:
- Unity 2021.2.16.
- 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.
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 due to different ball prefabs for different AR Engines: AR Foundation & AR Camera Lite:
-
public void SetPrefabBeforeInit(GameObject gameObject),
-
public void SetPrefabsBeforeInit(GameObject[ ] gameObjects).
Improvements:
- Unity 2021.3
It’s a Unity App with Throw Object 3D on WebGL for Mobiles.
> Complete Article about WebGL Building and Testing for Mobiles <
Video Tutorial about Mobile WebGL:

