Trick Shot Line

Like what your seeing?

Support us as a GitHub Sponsor and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude. These articles are made possible by our GitHub Sponsors ... become a sponsor today!

Introduction

Namespace

namespace HeathenEngineering.PhysKit;

Definition

Available for 3D Physics

public class TrickShotLine : MonoBehaviour

And for 2D Physics

public class TrickShotLine2D : MonoBehaviour

Fields and Attributes

Run On Start

public bool runOnStart;

If true the line will be updated when the Start method is called by Unity.

Continuous Run

public bool continuousRun;

If true the component will update the line every frame calling the Trick Shot Perdict method each frame.

Last updated