As an Associate of Unity Asset Store, this website earns from qualifying purchases and contains affiliate links: check the footer for more info.

AR Throwing (AR Foundation: ARKit, ARCore) — Unity Asset

AR Throwing — Unity Asset which combines Augmented Reality and Throw Mechanics for Mobile Platforms. AR Safety First.

During an encounter with a target, a player may throw a ball (or any object you want) by tapping any point on the screen (easy mode) or by flicking (swiping) the ball from the bottom of the screen up toward the target (hard mode). Both modes form different speed and throw direction based on the last tap point, what makes the game even more interesting.

Toss Diligently & Hit the Targets!

AR Engine

The game uses 2 AR Engines with auto selection:

  1. AR Foundation (ARCore, ARKit) with the next features:
  2. AR Camera Lite will be used when AR Foundation is not supported by the mobile device. It’s also used when Testing in Unity Editor: the game in Editor is always run with this Engine.

Features of AR Throwing

Bring the enchanting Power of Augmented Reality into your amazing AR Throwing Game or App:

Package Contains

Check the Map of Unity Assets to choose the product that best suits your needs.

Use Cases of AR Throwing

Popular Mobile Games:

Unity Assets:

1. AR Basketball (docs).

2. AR Throw & Score (docs).

Limitations

Learn Limitations separately for Each Asset included in the package.

Tutorial

This tutorial is relevant for AR Throwing 3.2+.
Tutorial for the previous version can be found only in the asset folder.

Getting Started with AR Throwing

Folders & Files in the package by default:

Steps

If you have any issues with the first launch then just Reach Support with Invoice Number and Get Help.

If you read this tutorial from PDF, first check the latest docs online to get actual information.

  1. Create New Unity Project with Unity 2021.3.4 & “3D” Template.
  2. File > Build Settings > iOS or Android > Switch Platform.
  3. Next Packages must be manually installed with Git & Unity Package Manager:
    1. Native Camera 1.3.3. Also, check a Hot Fix for v1.3.7.
  4. Download and import AR Throwing into Unity.
    1. Warning Windows:
      1. Click “Import” to overwrite the Project Settings with predefined ones.
      2. Click “Install/Upgrade” for Package Manager Dependencies.
      3. Click “No” when enabling the backends for the new input system.
  5. Next Packages are provided with Unity Package Manager, and they are already installed for this Asset by default. If packages are missing (Warning Window did not appear) then install them again with Unity Package Manager (with advanced settings enabled: “Pre-release Packages” & “Show Dependencies”):
    1. TextMesh Pro 3.0.6:
      1. Always Required: Window > TextMeshPro > Import TMP Essential Resources.
    2. AR Foundation 4.2.3;
    3. AR Subsystems 4.2.3;
    4. ARCore XR Plugin 4.2.3;
    5. ARKit XR Plugin 4.2.3;
    6. Editor Coroutines 1.0.0;
    7. Input System 1.3.0;
    8. Subsystem Registration 1.1.1;
    9. XR Legacy Input Helpers 2.1.9;
    10. XR Plugin Management 4.2.1.
  6. Reopen Unity Project.
  7. Open Scene: Makaka Games > AR > AR Throwing > Scenes > Demo.
  8. Test in the Unity Editor or Build for Mobile.

Each Unity Asset included in AR Throwing has its own documentation in the target folder or on the website (the latest docs).

Testing

Basic Editor Testing (without smartphone & plane detection) is provided by AR Camera Lite (docs) to imitate smartphone motion:

Use Left Mouse Button to Throw.

Use Fullscreen of Game View in Unity Editor while testing to get a seamless experience.

Auto Selection of AR Engine goes next way:

  1. The game starts with AR Camera Lite and checks the support of the gyroscope. If gyro is not supported then the game will be run with an accelerometer, otherwise, step 2 will be run.
  2. AR Foundation support is checked by the AR Foundation Support Checker. If it’s not supported then the game will be run with gyro using AR Camera Lite, otherwise, the game will be run with AR Foundation.

On the Mobile Device, you can forcibly test Game Version with AR Camera Lite and:

Tested with Mobile Devices

Support

First, read the latest docs online.
If it didn’t help, get the support.

Changelog

Check the current version of AR Throwing on Asset Store.
The latest versions will be added as soon as possible.

3.3:

Improvements:

3.2:

Improvements:

3.1:

Features:

Improvements:

Fixes:

3.0:

2.0:

Exit mobile version