• Stars
    star
    369
  • Rank 115,686 (Top 3 %)
  • Language
    C#
  • License
    BSD 3-Clause "New...
  • Created over 6 years ago
  • Updated about 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

High performance SpringBone using ECS and JobSystem in Unity.

uSpringBone

GitHub license release PRs Welcome

GitHub issues GitHub forks GitHub stars Twitter

Overview

It is a SpringBone which performed speed up using ECS + JobSystem.

You can suppress the load of MainThread and let the calculation process be executed by WorkerThread.

Since have only implemented basic functions yet, plan to implement various additional implementations in the future.

How to use

Please see the sample scenes included in the project for specific usage.

The basic usage is as follows.

  • Attach the SpringBone component to the object.
  • Attach a SpringBoneChain to an object that will be the parent of all Attached SpringBones.
  • Attach SpringBoneCollider to arbitrary object as necessary and register it in SpringBoneChain.

About the performance

uSpringBone implements such that complex rotation calculation is separated from MainThread and WorkerThread is used efficiently.

Even if multiple models that require a lot of calculation are arranged, the load on MainThread is minimized.

Future renovation

  • Addition of smooth rotation function
  • Addition of rotation area restriction function
  • Additional shape of Collision
  • Implementation of EditorWindow to make setup easy

Licence