Skip to content

Augmented Reality based on Ray Cast Technology and using Unity, C#.

Notifications You must be signed in to change notification settings

Sarah-Hesham-2022/Augmented-Reality-RayCast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AR-RayCast

-Augmented Reality Project based on Ray Cast Technology using XR Package of Unity and C#

-Using augmented reality and ray cast technologies provided by unity and C#, an android application of android version >=7.0 is built.

image

image

-Ground plane must first be detected by the application.

image

-With each touch a random 3D object would appear that has its own sound effect and animation.

-Each object has its own label associated with it ,it moves with it and tracks it, like if it were a part of the object itself.

image

-Upon touching again a new object appears.

-No object appears twice in a row.

-You can place the object where you want by dragging your touch, so instead of "touch.end" , I used "touch.moved" in my script.

-Incase you want to drag and drop the object by moving your touch and not just ending it instantly, make sure first that the whole place you will be moving (dragging and dropping) your object through is already detected by the application by finding the PNG spots on it, if that is not the case, your object will be placed on the last dragged detected coordinates on your mobile screen.

-This is a 3D Project.

-Nine Objects in the project:

  1. A tree, its animation is the change in color and its sound effect is birds singing.

image

  1. A male character , its animation is walking and its sound effect is friction with the ground.

image

image

  1. A female character , its animation is running and its sound effect is friction with the ground.

image

image

  1. An I-Phone, its animation is vibration like you are getting a call and its sound effect is the ringing tone.

image

  1. A red heart , its animation is half rotation and its sound effect is someone breathing with a beating heart.

image

  1. An eye, its animation is change in scale and its sound effect is an automated voice saying "I can see you" .

image

  1. A car , its animation is rotating around itself, like it made an accident and its sound effect is a consistent honking sound.

image

  1. A ball, its animation is jumping up and down (Bouncing) and its sound effect is bouncing ball to the ground.

image

  1. A 3D Cube, its animation is color change and its sound effect is an automated voice saying "Color Change" .

image

-For better resolution, check out this link , as the below demo is compressed:

https://drive.google.com/file/d/1yfIwJLbZsLW4RuLsI8p3SuWX7719pD9a/view?usp=sharing

AugmentedReality_Demo.mp4

Releases

No releases published

Packages

No packages published