深海擱淺發(fā)動機四部件代碼分享
時間:2015-01-31 10:08:52 來源:貼吧 作者:qinhuiok 熱度: 641 次
在游戲里面,裝有發(fā)動機的木筏跑起來是很快的,但是很多玩家不知道發(fā)動機該如何獲得,有玩友分享了發(fā)動機的代碼,我們一起來看看。
在游戲里面,裝有發(fā)動機的木筏跑起來是很快的,但是很多玩家不知道發(fā)動機該如何獲得,有玩友分享了發(fā)動機的代碼,我們一起來看看。
1#引擎
"[3]Slot":{"[6]ENGINE_PROPELLER(Clone)":{"name":"ENGINE_PROPELLER(Clone)","reference":"65896e39-6b4a-49d8-b18c-92744c979153","prefab":"562456b5-3835-469a-9286-d4221b0b4d26","displayName":"Propeller","healthPoints":"~f0","GameObject":{"active":false,"layer":"Ignore Raycast","tag":"Craftable"},"Transform":{"localPosition":{"x":"~f0.04642828","y":"~f0.002566695","z":"~f0.1027671"},"localRotation":{"x":"~f0.8305596","y":"~f-0.4840547","z":"~f-0.2100493","w":"~f-0.1781601"},"localScale":{"x":"~f1.000015","y":"~f0.9999831","z":"~f1.000001"}},"Rigidbody":{"isKinematic":true,"useGravity":true,"useConeFriction":true,"position":{"x":"~f1.216041","y":"~f0.7368066","z":"~f-5.633064"},"rotation":{"x":"~f0.4090965","y":"~f0.2428874","z":"~f0.7333221","w":"~f-0.4856794"},"velocity":{"x":"~f0","y":"~f0","z":"~f0"},"angularVelocity":{"x":"~f0","y":"~f0","z":"~f0"},"sleepVelocity":"~f0.15","sleepAngularVelocity":"~f0.14","maxAngularVelocity":"~f7","mass":"~f2","centerOfMass":{"x":"~f-0.003189087","y":"~f0.01311493","z":"~f-0.001661301"},"drag":"~f0","angularDrag":"~f0.05","inertiaTensor":{"x":"~f0.01851448","y":"~f0.01317336","z":"~f0.01863338"},"inertiaTensorRotation":{"x":"~f0","y":"~f0","z":"~f0","w":"~f1"},"freezeRotation":true,"constraints":"FreezeAll","interpolation":"None","detectCollisions":true,"collisionDetectionMode":"Continuous","solverIterationCount":"~i6"},"Colliders":{"[0]BoxCollider":{"enabled":false,"isTrigger":true,"center":{"x":"~f-0.003177643","y":"~f0.0131197","z":"~f-0.001666188"},"size":{"x":"~f0.2824067","y":"~f0.3792717","z":"~f0.2798691"}}},"batched":true,"durabilityPoints":"~f0","isInteractive":false,"canUse":false,"canUseOnObjects":false,"canDamage":false,"canStab":false,"isStabbed":false,"isPlacing":false,"TriggerCollider":{"GameObject":{"active":true,"layer":"Ignore Raycast","tag":"Untagged"},"BoxCollider":{"enabled":false,"isTrigger":true,"center":{"x":"~f-0.01725674","y":"~f0.01742887","z":"~f0.01096463"},"size":{"x":"~f0.756838","y":"~f0.6040748","z":"~f1.156526"}}}}},
2#引擎
"[4]Slot":{"[7]ENGINE_FUEL_TANK(Clone)":{"name":"ENGINE_FUEL_TANK(Clone)","reference":"1348f873-8f4c-4da2-b8b4-2f234798e676","prefab":"7d5256de-0be5-4d55-9026-9eb7e8afd798","displayName":"Fuel Tank","healthPoints":"~f0","GameObject":{"active":false,"layer":"Ignore Raycast","tag":"Craftable"},"Transform":{"localPosition":{"x":"~f0","y":"~f0","z":"~f0"},"localRotation":{"x":"~f1","y":"~f-4.371139E-08","z":"~f-4.371139E-08","w":"~f1.910685E-15"},"localScale":{"x":"~f0.9999994","y":"~f0.9999995","z":"~f0.9999999"}},"Rigidbody":{"isKinematic":true,"useGravity":true,"useConeFriction":true,"position":{"x":"~f1.290485","y":"~f0.7686592","z":"~f-5.554535"},"rotation":{"x":"~f0.1547032","y":"~f0.1670923","z":"~f0.9733664","w":"~f-0.0265514"},"velocity":{"x":"~f0","y":"~f0","z":"~f0"},"angularVelocity":{"x":"~f0","y":"~f0","z":"~f0"},"sleepVelocity":"~f0.15","sleepAngularVelocity":"~f0.14","maxAngularVelocity":"~f7","mass":"~f2","centerOfMass":{"x":"~f0.009271623","y":"~f-0.01609325","z":"~f0.01018715"},"drag":"~f0","angularDrag":"~f0.05","inertiaTensor":{"x":"~f0.07588864","y":"~f0.05748859","z":"~f0.04974901"},"inertiaTensorRotation":{"x":"~f0","y":"~f0","z":"~f0","w":"~f1"},"freezeRotation":true,"constraints":"FreezeAll","interpolation":"None","detectCollisions":true,"collisionDetectionMode":"Continuous","solverIterationCount":"~i6"},"Colliders":{"[0]BoxCollider":{"enabled":false,"isTrigger":true,"center":{"x":"~f0.009280205","y":"~f-0.01614332","z":"~f0.0101667"},"size":{"x":"~f0.3066707","y":"~f0.4521583","z":"~f0.5008839"}}},"batched":true,"durabilityPoints":"~f0","isInteractive":false,"canUse":false,"canUseOnObjects":false,"canDamage":false,"canStab":false,"isStabbed":false,"isPlacing":false,"TriggerCollider":{"GameObject":{"active":true,"layer":"Ignore Raycast","tag":"Untagged"},"BoxCollider":{"enabled":false,"isTrigger":true,"center":{"x":"~f0.03478813","y":"~f-0.03133035","z":"~f0.04486251"},"size":{"x":"~f0.8528692","y":"~f0.8911848","z":"~f1.297799"}}}}},
3#引擎
"[5]Slot":{"[8]ENGINE(Clone)":{"name":"ENGINE(Clone)","reference":"1cce2661-9940-4138-aeb4-1eebd0169abf","prefab":"d3d2812a-447f-41d7-b412-08d8b21336af","displayName":"Engine","healthPoints":"~f0","GameObject":{"active":false,"layer":"Ignore Raycast","tag":"Craftable"},"Transform":{"localPosition":{"x":"~f0","y":"~f0","z":"~f0"},"localRotation":{"x":"~f1","y":"~f-4.371139E-08","z":"~f-4.371139E-08","w":"~f1.910685E-15"},"localScale":{"x":"~f0.9999998","y":"~f0.9999996","z":"~f1"}},"Rigidbody":{"isKinematic":true,"useGravity":true,"useConeFriction":true,"position":{"x":"~f1.290485","y":"~f0.7686592","z":"~f-5.554535"},"rotation":{"x":"~f0.1547032","y":"~f0.1670923","z":"~f0.9733664","w":"~f-0.0265514"},"velocity":{"x":"~f0","y":"~f0","z":"~f0"},"angularVelocity":{"x":"~f0","y":"~f0","z":"~f0"},"sleepVelocity":"~f0.15","sleepAngularVelocity":"~f0.14","maxAngularVelocity":"~f7","mass":"~f2","centerOfMass":{"x":"~f7.629395E-06","y":"~f-0.04119205","z":"~f-4.768372E-07"},"drag":"~f0","angularDrag":"~f0.05","inertiaTensor":{"x":"~f0.1005848","y":"~f0.07993244","z":"~f0.1005848"},"inertiaTensorRotation":{"x":"~f0","y":"~f0","z":"~f0","w":"~f1"},"freezeRotation":true,"constraints":"FreezeAll","interpolation":"None","detectCollisions":true,"collisionDetectionMode":"Continuous","solverIterationCount":"~i6"},"Colliders":{"[0]BoxCollider":{"enabled":false,"isTrigger":true,"center":{"x":"~f0","y":"~f-0.04117292","z":"~f0"},"size":{"x":"~f0.4896911","y":"~f0.603085","z":"~f0.489691"}}},"batched":true,"durabilityPoints":"~f0","isInteractive":false,"canUse":false,"canUseOnObjects":false,"canDamage":false,"canStab":false,"isStabbed":false,"isPlacing":false,"TriggerCollider":{"GameObject":{"active":true,"layer":"Ignore Raycast","tag":"Untagged"},"BoxCollider":{"enabled":false,"isTrigger":true,"center":{"x":"~f0.005094051","y":"~f-0.03088951","z":"~f0.0157795"},"size":{"x":"~f1.020273","y":"~f1.028075","z":"~f1.019763"}}}}},
4#引擎
"[6]Slot":{"[9]ENGINE_PUMP(Clone)":{"name":"ENGINE_PUMP(Clone)","reference":"d889e1fb-0ce6-4f07-8df3-3f80a8bcaa85","prefab":"75d9c0ba-c732-4e59-ac64-5bcf19e0c2df","displayName":"Carburettor","healthPoints":"~f0","GameObject":{"active":false,"layer":"Ignore Raycast","tag":"Craftable"},"Transform":{"localPosition":{"x":"~f0","y":"~f0","z":"~f0"},"localRotation":{"x":"~f1","y":"~f-4.371139E-08","z":"~f-4.371139E-08","w":"~f1.910685E-15"},"localScale":{"x":"~f0.9999992","y":"~f0.9999997","z":"~f0.9999996"}},"Rigidbody":{"isKinematic":true,"useGravity":true,"useConeFriction":true,"position":{"x":"~f1.290485","y":"~f0.7686592","z":"~f-5.554535"},"rotation":{"x":"~f0.1547032","y":"~f0.1670923","z":"~f0.9733664","w":"~f-0.0265514"},"velocity":{"x":"~f0","y":"~f0","z":"~f0"},"angularVelocity":{"x":"~f0","y":"~f0","z":"~f0"},"sleepVelocity":"~f0.15","sleepAngularVelocity":"~f0.14","maxAngularVelocity":"~f7","mass":"~f2","centerOfMass":{"x":"~f-0.02758217","y":"~f0.02943754","z":"~f0.01772499"},"drag":"~f0","angularDrag":"~f0.05","inertiaTensor":{"x":"~f0.01457291","y":"~f0.0122554","z":"~f0.01753953"},"inertiaTensorRotation":{"x":"~f0","y":"~f0","z":"~f0","w":"~f1"},"freezeRotation":true,"constraints":"FreezeAll","interpolation":"None","detectCollisions":true,"collisionDetectionMode":"Discrete","solverIterationCount":"~i6"},"Colliders":{"[0]BoxCollider":{"enabled":false,"isTrigger":true,"center":{"x":"~f-0.02763557","y":"~f0.02945423","z":"~f0.01769614"},"size":{"x":"~f0.2136962","y":"~f0.244072","z":"~f0.1669322"}}},"batched":true,"durabilityPoints":"~f0","isInteractive":false,"canUse":false,"canUseOnObjects":false,"canDamage":false,"canStab":false,"isStabbed":false,"isPlacing":false,"TriggerCollider":{"GameObject":{"active":true,"layer":"Ignore Raycast","tag":"Untagged"},"BoxCollider":{"enabled":false,"isTrigger":true,"center":{"x":"~f-0.03182507","y":"~f0.02130604","z":"~f-0.02348733"},"size":{"x":"~f0.7418325","y":"~f0.7392048","z":"~f0.830227"}}}}},
這里說明下,"[6]Slot"代表物品在包里的格數(shù),也就是物品在第六格;
發(fā)動機組合;1木棍,1膠帶,1#,2#,3#,4#引擎部件(不需要錘子可以直接合成,前提你要有木筏)
熱門新聞
我要評論 查看全部評論 (0)>>