Repository navigation
Releases: Bitslayn/Spring
Releases · Bitslayn/Spring
Release list
v1.1.2
v1.1.1
v1.1.0
TLDR; 70% performance improvement, new applyForce function, and prepping support for player skulls
Made several changes to improve performance:
- Localized math functions and some common vectors/matrices
- Store variables locally while working with them instead of indexing spring table several times
- Converted vector math to using symbols
- Build transformation matrix in tick, rather than every frame, and lerp the matrix in render
- Use
:copy()instead of creating vectors and matrices from scratch
Feature changes
velStrengthcan now be set to nil (defaults to 1 when creating a spring). Setting this to nil will disable checking entity velocity- Added
entityconfig which defaults to the avatar entity. This can be set to another entity, namely the entity holding your player skull if a spring is used on a player skull item model