Babylon Voxel Player
Voxel Player for Babylon.js (includes player mesh, player walk animation and player coloring)
Player for Babylon.js.
Best when used with Noa-Engine.
Example
let player = // Pass it a copy of the Babylon scene scene: scene // Pass it the initial player color player_color: 0025508 // Pass it mesh height player_height: 15; let player_mesh = player;player_meshscalingx = 065;player_meshscalingy = 065;player_meshscalingz = 065; // Add a player component to the player entitynoaentities // Then you can update the color of the playerplayer; // Or start/stop the animationif !player player; else player;
Run the Example
git clone git://github.com/Nesh108/babylon-voxel-player && cd babylon-voxel-player
npm install
npm start
Install
With npm do:
npm install --save babylon-voxel-player
Release History
- 1.0.0 - initial release
License
Copyright (c) 2017 Nesh108
Licensed under the MIT license.