Scripting Utility Function Library

$4
Publisher Z Axis Technologies
File size 790.42kB
Number of files 44
Latest version 1.0.7
Latest release date 2022-03-31 08:17:17
First release date 2021-07-12 01:17:14
Supported Unity versions 2018.4.2 or higher

A Collection of useful functions to speed up your project's development


Includes functions that handle debug drawing, quaternion manipulation, geometry calculations, ballistic trajectory, coroutines and even a whole object pooling system!

Recently added: 3D volumetric "navmesh" for pathfinding in 3D space.


Includes full source code with each function fully commented.


Object Pooling

-Easy to use ObjectPoolManager system with static functions to spawn and return objects from pools

-Automatically sets up pools for the prefabs you tell it to spawn

-Includes tons of functions to help easily manage pooled objects


Ballistic Trajectory Calculator

-Automatically calculates all data for ballistic trajectories

-Find velocity needed to hit any target, find angle of launch to hit target, get the points along the trajectory arc and more!


NavGrid3D

-Volumetric "NavMesh" for character navigation in 3D space, ideal for flying / swimming / floating AI

-Define 3D grid and "bake" the navigation to carve out environment geometry obstacles

-A* Pathfinding through the NavGrid and included NavGridAgent class that handles basic motion.


Debug Drawer

-Draw tons of debug shapes like circles, paths, spheres, cones and arrows


Unreal Style Rotation Utilities

-Make rotations from any two directions to easily figure out transforms, i.e. MakeRotFromXY, MakeRotFromYZ etc.

-TransformData struct to store transforms as variables without requiring a gameobject

-Extension methods for TransformRotation, InverseTransformRotation, relative rotations and difference between rotations

DictTuple struct that allows for editing of Dictionaries in the inspector.


Coroutine Utils

-Sick of writing the same coroutines again and again? Fire and forget coroutine manager lets you easily call your own functions with delays, loops and more

-Invoke functions every time increment, for a fixed duration or a fixed number of calls

-Get callbacks with parameters in different patterns, like ascending, descending, and sinusoidal

-Move / Rotate / Scale gameobjects over time for tween-like effects

Move rigidbodies with physics over time or distance to easily get physically accurate movement.

Stop specific timers by handle or stop all timers on a given gameobject.


Easing Functions

-Includes all the classic easing functions

-Easy to use interface that works alongside the Coroutine Utils


Geometry Utils

-A huge range of geometry functions to handle all sorts of calculations

Line / Line intersects, Line / Plane intersects, closest point between lines, and much much more


Grids

-2D, 3D and Polar Grid classes

-Spatial grids with arbitrary transforms allow you to easily arrange objects, associate data with grid cells and more

-Find grid cell that contains a point, subdivide grids, coordinate transforms etc

Top Publisher Assets