@zeainc/zea-kinematics
v4.0.4
Published
Kinematics extension for Zea Engine.
Downloads
27
Readme
Zea Kinematics
Introduction
This is a plug-in for ZeaEngine with features that enable the motion of points, bodies and system of bodies. In other words, animation of your objects inside the engine. Pistons, Explode Parts, Aiming, etc.
Documentation
Full documentation with concepts, tutorials, live examples, API documentation and more; can be found at the zea ux docs site: https://docs.zea.live/zea-kinematics
These docs allow developers to get started with the Zea UX by downloading free and open-source demo content and using Zea's publicly distributed client-side libraries.
Licensing
The Zea Kinematics in is under a MIT
license.
Add it to your project
The process to add Zea Kinematics to your projects is easy.
Using CDNs
For static websites or quick implementation you can always use CDNs like JsDelivr or Unpkg:
JsDelivr
<script crossorigin src="https://cdn.jsdelivr.net/npm/@zeainc/zea-kinematics/dist/index.umd.min.js"></script>
Unpkg
<script crossorigin src="https://unpkg.com/@zeainc/zea-kinematics/dist/index.umd.js"></script>
Use it
<script>
const { AimOperator } = globalThis.zeaKinematics
</script>
As a Module
But if you want to use it like a module, then install the package in your project using npm
or yarn
:
npm i @zeainc/zea-kinematics
## Or
yarn add @zeainc/zea-kinematics
Use it
import { AimOperator } from '@zeainc/zea-kinematics'
// ...
Dependencies
This plug-in depends on ZeaEngine and ZeaUX. So, if you're using CDNs, make sure to import these two libraries before kinematics.
For questions on licensing, please fill out the contact form on our website: zea.live