Advertisement
yskang

threejs-minecraft-6

Apr 15th, 2020
1,733
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // body
  2. const bodyGeo = new THREE.BoxGeometry( 4, 8, 2 );
  3. this.body = new THREE.Mesh( bodyGeo, creeperMat );
  4. this.body.position.set( 0, 0, 0 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement