CharacterExample.rogueScene 13 KB

1
  1. {"assetConfigs":{},"scene":{"metadata":{"version":4.5,"type":"Object","generator":"Object3D.toJSON"},"geometries":[{"uuid":"4FCFE552-A3E5-412D-97E2-F31474916183","type":"BoxBufferGeometry","width":1,"height":1,"depth":1,"widthSegments":1,"heightSegments":1,"depthSegments":1},{"uuid":"25C23DE5-3D1A-44E2-A178-033725477147","type":"BoxBufferGeometry","width":1,"height":1,"depth":1,"widthSegments":1,"heightSegments":1,"depthSegments":1},{"uuid":"FAE5A806-E3A9-4759-BE8D-CAE09A7D2B74","type":"BoxBufferGeometry","width":1,"height":1,"depth":1,"widthSegments":1,"heightSegments":1,"depthSegments":1},{"uuid":"37D04FF8-7C3F-4AE1-8489-6FFB545729B0","type":"SphereBufferGeometry","radius":1,"widthSegments":8,"heightSegments":6,"phiStart":0,"phiLength":6.283185307179586,"thetaStart":0,"thetaLength":3.141592653589793},{"uuid":"3CFCBD66-3006-466F-A430-523BA9734280","type":"SphereBufferGeometry","radius":1,"widthSegments":8,"heightSegments":6,"phiStart":0,"phiLength":6.283185307179586,"thetaStart":0,"thetaLength":3.141592653589793},{"uuid":"EF881319-5277-403D-BB1F-B0FA530C37ED","type":"SphereBufferGeometry","radius":1,"widthSegments":8,"heightSegments":6,"phiStart":0,"phiLength":6.283185307179586,"thetaStart":0,"thetaLength":3.141592653589793},{"uuid":"EB34B760-C0BC-454C-A955-2BF921D90E25","type":"BoxBufferGeometry","width":1,"height":1,"depth":1,"widthSegments":1,"heightSegments":1,"depthSegments":1},{"uuid":"80F52323-58A0-4184-87DF-6664EE3BA417","type":"BoxBufferGeometry","width":1,"height":1,"depth":1,"widthSegments":1,"heightSegments":1,"depthSegments":1}],"materials":[{"uuid":"4F621BB1-886C-4899-87BB-628B679DBBA6","type":"MeshStandardMaterial","color":11836651,"roughness":1,"metalness":0,"emissive":0,"depthFunc":3,"depthTest":true,"depthWrite":true,"stencilWrite":false,"stencilWriteMask":255,"stencilFunc":519,"stencilRef":0,"stencilFuncMask":255,"stencilFail":7680,"stencilZFail":7680,"stencilZPass":7680},{"uuid":"8AABD3F1-BBF9-42D0-AE77-3D96AA161D13","type":"MeshStandardMaterial","color":9170929,"roughness":1,"metalness":0,"emissive":0,"depthFunc":3,"depthTest":true,"depthWrite":true,"stencilWrite":false,"stencilWriteMask":255,"stencilFunc":519,"stencilRef":0,"stencilFuncMask":255,"stencilFail":7680,"stencilZFail":7680,"stencilZPass":7680}],"object":{"uuid":"7c554a70-e242-4322-a79e-d67ae3a79a2f","type":"Scene","layers":1,"matrix":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"children":[{"uuid":"CE75AEE7-915F-4652-BFC5-CA4AB6EAC443","type":"Object3D","name":"Config","userData":{"__IS_ADDING__":false},"layers":1,"matrix":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]},{"uuid":"20BF965B-8023-4132-B7F6-367508462743","type":"AmbientLight","name":"Ambient Light","userData":{"__IS_ADDING__":false},"layers":1,"matrix":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"color":16777215,"intensity":0.7},{"uuid":"1FA10599-BFC4-45CB-944E-DA58CBB91476","type":"PerspectiveCamera","name":"Main Camera","userData":{"__IS_ADDING__":false},"layers":1,"matrix":[1,0,0,0,0,1,0,0,0,0,1,0,0,3.197636628808884,14.699141030612537,1],"children":[{"uuid":"87A6C56A-4415-46BE-8137-2314A2413B7B","type":"Object3D","name":"AudioListener","userData":{"__IS_ADDING__":false},"layers":1,"matrix":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}],"fov":50,"zoom":1,"near":0.1,"far":100,"focus":10,"aspect":1.973919094903491,"filmGauge":35,"filmOffset":0},{"uuid":"DA5BA9C0-6959-4174-96A9-8A4996AE2376","type":"Mesh","name":"Cube","castShadow":true,"receiveShadow":true,"userData":{"__IS_ADDING__":false,"components":[{"name":"CannonBody","componentPrototypeName":"CannonBody","interface":{"angularDamping":"Number","linearDamping":"Number","mass":"Number"},"interfaceRefs":{"angularDamping":0,"linearDamping":0,"mass":0},"enabled":true},{"name":"CannonBox","componentPrototypeName":"CannonBox","interface":{"sizeOffset":"Vector3"},"interfaceRefs":{"sizeOffset":[1,1,1]},"enabled":true}]},"layers":1,"matrix":[20,0,0,0,0,0.5,0,0,0,0,20,0,0,0,0,1],"geometry":"4FCFE552-A3E5-412D-97E2-F31474916183","material":"4F621BB1-886C-4899-87BB-628B679DBBA6"},{"uuid":"DDA713D9-4CDA-40BC-803F-1EE50B6AE85F","type":"DirectionalLight","name":"SUNLIGHT","castShadow":true,"userData":{"__IS_ADDING__":false},"layers":1,"matrix":[1,0,0,0,0,1,0,0,0,0,1,0,5.5109105961630896e-15,10.157074638613345,-89.42501794680075,1],"color":16777215,"intensity":1,"shadow":{"camera":{"uuid":"5BAEF1E8-6857-4556-8B55-5F3BBEC45132","type":"OrthographicCamera","layers":1,"zoom":1,"left":-5,"right":5,"top":5,"bottom":-5,"near":0.5,"far":500}}},{"uuid":"B34E8F4E-054C-495C-9F2E-5E1DB559509A","type":"Mesh","name":"Cube","castShadow":true,"receiveShadow":true,"userData":{"__IS_ADDING__":false},"layers":1,"matrix":[4.134415419169694,-1.7215990416230964,0,0,0.17702428801998263,0.4251233465298268,0,0,0,0,3.4047522272259463,0,-1.2065411687493324,0,0,1],"geometry":"25C23DE5-3D1A-44E2-A178-033725477147","material":"4F621BB1-886C-4899-87BB-628B679DBBA6"},{"uuid":"1F607071-2261-423C-83D2-122C3F45728F","type":"Mesh","name":"Cube","castShadow":true,"receiveShadow":true,"userData":{"__IS_ADDING__":false,"components":[{"name":"CannonBody","componentPrototypeName":"CannonBody","interface":{"angularDamping":"Number","linearDamping":"Number","mass":"Number"},"interfaceRefs":{"angularDamping":0,"linearDamping":0,"mass":0},"enabled":true},{"name":"CannonBox","componentPrototypeName":"CannonBox","interface":{"sizeOffset":"Vector3"},"interfaceRefs":{"sizeOffset":[1,1,1]},"enabled":true}]},"layers":1,"matrix":[4.651174257492724,0,0,0,0,1.9131884459888033,0,0,0,0,10.694120313312697,0,-5.487892015006867,0.129899124381762,0,1],"geometry":"FAE5A806-E3A9-4759-BE8D-CAE09A7D2B74","material":"4F621BB1-886C-4899-87BB-628B679DBBA6"},{"uuid":"2DBABB8A-8FD0-4554-8D7A-E9D859FCA6A0","type":"Object3D","name":"Player","castShadow":true,"receiveShadow":true,"userData":{"__IS_ADDING__":false},"layers":1,"matrix":[1,0,0,0,0,1,0,0,0,0,1,0,0,3.637542782467465,0,1],"children":[{"uuid":"119BE00D-3723-4E82-8F41-FA689F39D425","type":"Mesh","name":"Sphere","castShadow":true,"receiveShadow":true,"userData":{"__IS_ADDING__":false,"components":[{"name":"CannonSphere","componentPrototypeName":"CannonSphere","interface":{"radiusOffset":"Number"},"interfaceRefs":{"radiusOffset":1},"enabled":true}]},"layers":1,"matrix":[0.5,0,0,0,0,0.5,0,0,0,0,0.5,0,0,0,0,1],"geometry":"37D04FF8-7C3F-4AE1-8489-6FFB545729B0","material":"8AABD3F1-BBF9-42D0-AE77-3D96AA161D13"},{"uuid":"E376666F-9D6F-49D6-BE00-D4E626E2AD23","type":"Mesh","name":"Sphere","castShadow":true,"receiveShadow":true,"userData":{"__IS_ADDING__":false,"components":[{"name":"CannonSphere","componentPrototypeName":"CannonSphere","interface":{"radiusOffset":"Number"},"interfaceRefs":{"radiusOffset":1},"enabled":true}]},"layers":1,"matrix":[0.5,0,0,0,0,0.5,0,0,0,0,0.5,0,0,0.5,0,1],"geometry":"3CFCBD66-3006-466F-A430-523BA9734280","material":"8AABD3F1-BBF9-42D0-AE77-3D96AA161D13"},{"uuid":"3B3DE558-0B56-44DD-B540-7C9F6A75E3F7","type":"Mesh","name":"Sphere","castShadow":true,"receiveShadow":true,"userData":{"__IS_ADDING__":false},"layers":1,"matrix":[0.5,0,0,0,0,0.5,0,0,0,0,0.5,0,0,1,0,1],"geometry":"EF881319-5277-403D-BB1F-B0FA530C37ED","material":"8AABD3F1-BBF9-42D0-AE77-3D96AA161D13"}]},{"uuid":"59FA0750-6CFC-4FCC-A22C-0C8D99754A8C","type":"Mesh","name":"Cube","castShadow":true,"receiveShadow":true,"userData":{"__IS_ADDING__":false,"components":[{"name":"CannonBody","componentPrototypeName":"CannonBody","interface":{"angularDamping":"Number","linearDamping":"Number","mass":"Number"},"interfaceRefs":{"angularDamping":0,"linearDamping":0,"mass":0},"enabled":true},{"name":"CannonBox","componentPrototypeName":"CannonBox","interface":{"sizeOffset":"Vector3"},"interfaceRefs":{"sizeOffset":[1,1,1]},"enabled":true}]},"layers":1,"matrix":[4.651174257492724,0,0,0,0,1.9131884459888033,0,0,0,0,10.694120313312697,0,3.161079856311641,0.129899124381762,0.9019157056374478,1],"geometry":"EB34B760-C0BC-454C-A955-2BF921D90E25","material":"4F621BB1-886C-4899-87BB-628B679DBBA6"},{"uuid":"8A67223C-58E0-4751-AFBA-BF3A11C81E63","type":"Mesh","name":"Cube","castShadow":true,"receiveShadow":true,"userData":{"__IS_ADDING__":false},"layers":1,"matrix":[2.762719365190388,0,0,0,0,1.9131884459888033,0,0,0,0,2.8420294820815415,0,3.5080785446494027,1.1823928144584956,0.9019157056374478,1],"geometry":"80F52323-58A0-4184-87DF-6664EE3BA417","material":"4F621BB1-886C-4899-87BB-628B679DBBA6"},{"uuid":"193994BA-7EA3-4FE5-81DD-D2FE86C95ED8","type":"HemisphereLight","name":"Hemisphere Light","userData":{"__IS_ADDING__":false},"layers":1,"matrix":[1,0,0,0,0,1,0,0,0,0,1,0,0,6.740057389379886,-5.298840360228972,1],"color":16777215,"intensity":0.5,"groundColor":1}]}},"skybox":{"_enabled":true,"_mode":"cubemap","_showSun":false,"inclination":0.464,"azimuth":0.25,"mieDirectionalG":0,"mieCoefficient":0,"turbidity":0,"rayleigh":0,"luminance":0,"_sunSpeed":0,"_cubemapTop":false,"_cubemapBottom":false,"_cubemapFront":false,"_cubemapBack":false,"_cubemapRight":false,"_cubemapLeft":false},"components":{"DA5BA9C0-6959-4174-96A9-8A4996AE2376":[{"name":"CannonBody","componentPrototypeName":"CannonBody","interface":{"type":"Select","angularDamping":"Number","linearDamping":"Number","mass":"Number","linearFactor":"Vector3","angularFactor":"Vector3","isTrigger":"Boolean"},"interfaceRefs":{"type":"1","angularDamping":0,"linearDamping":0,"mass":0,"linearFactor":[1,1,1],"angularFactor":[1,1,1],"isTrigger":false},"enabled":true},{"name":"CannonBox","componentPrototypeName":"CannonBox","interface":{"sizeOffset":"Vector3"},"interfaceRefs":{"sizeOffset":[1,1,1]},"enabled":true}],"CE75AEE7-915F-4652-BFC5-CA4AB6EAC443":[{"name":"CannonConfig","componentPrototypeName":"CannonConfig","interface":{"step":"Number","defaultFriction":"Number","defaultRestitution":"Number","gravity":"Vector3"},"interfaceRefs":{"step":0.016666666666666666,"defaultFriction":0,"defaultRestitution":0,"gravity":[0,-9.82,0]},"enabled":true}],"B34E8F4E-054C-495C-9F2E-5E1DB559509A":[{"name":"CannonBody","componentPrototypeName":"CannonBody","interface":{"type":"Select","angularDamping":"Number","linearDamping":"Number","mass":"Number","linearFactor":"Vector3","angularFactor":"Vector3","isTrigger":"Boolean"},"interfaceRefs":{"type":"1","angularDamping":0,"linearDamping":0,"mass":0,"linearFactor":[1,1,1],"angularFactor":[1,1,1],"isTrigger":false},"enabled":true},{"name":"CannonBox","componentPrototypeName":"CannonBox","interface":{"sizeOffset":"Vector3"},"interfaceRefs":{"sizeOffset":[1,1,1]},"enabled":true}],"1F607071-2261-423C-83D2-122C3F45728F":[{"name":"CannonBody","componentPrototypeName":"CannonBody","interface":{"type":"Select","angularDamping":"Number","linearDamping":"Number","mass":"Number","linearFactor":"Vector3","angularFactor":"Vector3","isTrigger":"Boolean"},"interfaceRefs":{"type":"1","angularDamping":0,"linearDamping":0,"mass":0,"linearFactor":[1,1,1],"angularFactor":[1,1,1],"isTrigger":false},"enabled":true},{"name":"CannonBox","componentPrototypeName":"CannonBox","interface":{"sizeOffset":"Vector3"},"interfaceRefs":{"sizeOffset":[1,1,1]},"enabled":true}],"2DBABB8A-8FD0-4554-8D7A-E9D859FCA6A0":[{"name":"CannonBody","componentPrototypeName":"CannonBody","interface":{"type":"Select","angularDamping":"Number","linearDamping":"Number","mass":"Number","linearFactor":"Vector3","angularFactor":"Vector3","isTrigger":"Boolean"},"interfaceRefs":{"type":0,"angularDamping":0,"linearDamping":0,"mass":4,"linearFactor":[1,1,1],"angularFactor":[0,1,0],"isTrigger":false},"enabled":true},{"name":"CannonSimpleCharacterController","componentPrototypeName":"CannonSimpleCharacterController","interface":{"fwdSpeed":"Number","jumpSpeed":"Number"},"interfaceRefs":{"fwdSpeed":3,"jumpSpeed":5},"enabled":true}],"119BE00D-3723-4E82-8F41-FA689F39D425":[{"name":"CannonSphere","componentPrototypeName":"CannonSphere","interface":{"radiusOffset":"Number"},"interfaceRefs":{"radiusOffset":1},"enabled":true}],"59FA0750-6CFC-4FCC-A22C-0C8D99754A8C":[{"name":"CannonBody","componentPrototypeName":"CannonBody","interface":{"type":"Select","angularDamping":"Number","linearDamping":"Number","mass":"Number","linearFactor":"Vector3","angularFactor":"Vector3","isTrigger":"Boolean"},"interfaceRefs":{"type":"1","angularDamping":0,"linearDamping":0,"mass":0,"linearFactor":[1,1,1],"angularFactor":[1,1,1],"isTrigger":false},"enabled":true},{"name":"CannonBox","componentPrototypeName":"CannonBox","interface":{"sizeOffset":"Vector3"},"interfaceRefs":{"sizeOffset":[1,1,1]},"enabled":true}],"8A67223C-58E0-4751-AFBA-BF3A11C81E63":[{"name":"CannonBody","componentPrototypeName":"CannonBody","interface":{"type":"Select","angularDamping":"Number","linearDamping":"Number","mass":"Number","linearFactor":"Vector3","angularFactor":"Vector3","isTrigger":"Boolean"},"interfaceRefs":{"type":"1","angularDamping":0,"linearDamping":0,"mass":0,"linearFactor":[1,1,1],"angularFactor":[1,1,1],"isTrigger":false},"enabled":true},{"name":"CannonBox","componentPrototypeName":"CannonBox","interface":{"sizeOffset":"Vector3"},"interfaceRefs":{"sizeOffset":[1,1,1]},"enabled":true}],"E376666F-9D6F-49D6-BE00-D4E626E2AD23":[{"name":"CannonSphere","componentPrototypeName":"CannonSphere","interface":{"radiusOffset":"Number"},"interfaceRefs":{"radiusOffset":1},"enabled":true}],"3B3DE558-0B56-44DD-B540-7C9F6A75E3F7":[{"name":"CannonSphere","componentPrototypeName":"CannonSphere","interface":{"radiusOffset":"Number"},"interfaceRefs":{"radiusOffset":1},"enabled":true}]}}