Skip to content

RehaStudio/Unity-2d-Prediction-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Unity-2d-Prediction-System

prediction This Project Created on Unity 2018.2.0f Without throwing the ball, This is helps to predict the all ball position.

What you need to do ,

  1. Hold down the mouse , all positions of the ball will be shown.
  2. When you left , the ball will be thrown automatically.

I use velocity. And prediction system work on velocity. No AddForce.

Prediction System Script

public Rigidbody2D rigi; // It is your ball rigidbody

Prediction_Objects // Your prediction game object. It is draw the path.

speed // Your ball's speed. Prediction system . It will adapt to the speed of the ball. And it will be right

space // Distance between prediction objects

And i use Object Pooling.

Thanks Everybody!

About

Prediction Systems for Unity 2D Games

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages