mbt-3d
v0.3.6
Published
React components for 3D character viewing with animations and morph targets
Maintainers
Readme
mbt-3d
React components for 3D character viewing with animations and morph targets.
Installation
npm install mbt-3dPeer Dependencies
npm install react react-dom three @react-three/fiber @react-three/dreiRequirements
- React >= 18.0.0
- Three.js >= 0.150.0
- @react-three/fiber >= 8.0.0
- @react-three/drei >= 9.0.0
Local Development
For local development and testing with another project:
1. Link the library:
# In mbt-3d directory
npm link
# Start watch mode for auto-rebuild on changes
npm run build:lib:watch2. Use in your project:
# In your project directory
npm link mbt-3d3. When done, unlink:
# In your project directory
npm unlink mbt-3d
# In mbt-3d directory
npm unlinkAlternative: Use file: protocol
{
"dependencies": {
"mbt-3d": "file:../path/to/mbt-3d"
}
}License
MIT
