Jump to content

d-luX

Members
  • Content Count

    8
  • Joined

Community Reputation

0 Neutral

About d-luX

  • Rank
    Refugee
  • Birthday 01/01/1980

Personal Information

  • Location
    Germany
  1. Exactly the same problem here. <configs> <append xpath="/blocks"> <block name="WoodenFence1Prefab"> <property name="Shape" value="ModelEntity" /> <property name="Model" value="#@modfolder:Resources/WoodenFences.unity3d?WoodenFence1"/> <property name="ModelOffset" value="0,-0.2,0"/> <property name="MultiBlockDim" value="3,2,1"/> <property name="Material" value="MtreeWoodFull"/> <property name="Collide" value="movement,melee,bullet,arrow,rocket"/> <drop event="Harvest" name="resourceWood" count="150" tag="oreWoodHarvest"/> <drop event="Destroy" name="treePlantedMountainPine1m" count="2"/> <property name="ParticleOnDeath" value="treeGib_burnt_55m"/> </block> </append> </configs>
  2. I got it, finally. Instead of converting the model to fbx, I saved and imported the model as a * .blend file. And it works without problems.
  3. I made small video to show my problem. There are two parts in this video. [video=youtube_share;e467ZmmmGRs] At 0:42 I havn't unchecked "Convert Units". At 3:27 I unchecked "Convert Units". Maybe i forget something?
  4. I also had to laugh first, but it is still a bit annoying
  5. I only imported my fbx , unchecked "Convert Units" , created a empty object (nothing changed except the tag and the name) and dropped the mesh into the empty object. Thats it. EDIT*** I don't know exactly what you meant with : "What's your prefab in Unity look like?" . That's why i've uploaded the unity-file + assets https://drive.google.com/open?id=15JKVp6Ue_jQzOLtISqbmkf_EEeu1HQTV
  6. Thank you for the hint. It works so far. The placed fence has the correct size now. But when i just select my fence the size is very huge. Very confusing.
  7. Hello everybody, I've got a little problem and hope someone can help me. For testing purposes I created a simple fence model in blender with the dimensions : x = 7m , y = 3m , z = 0.10m (R&S applied) and imported the fbx to unity. In unity the dimensions for the T_Block and T_Mesh_B are : 100 x 100 x 100 . When i select my fence ingame the size is correct (Image1) but when i place my fence then it's very tiny (Image2). Image1: Image2: Does anyone know what I did wrong? Unity version : Unity 2019.1.0f2 (64-bit) ExportAssetBundles: using UnityEngine; using UnityEditor; public class ExportAssetBundles { [MenuItem("Assets/Build AssetBundle From Selection - Track dependencies")] static void ExportResource() { // Bring up save panel string path = EditorUtility.SaveFilePanel("Save Resource", "", "New Resource", "unity3d"); if (path.Length != 0) { // Build the resource file from the active selection. Object[] selection = Selection.GetFiltered(typeof(Object), SelectionMode.DeepAssets); BuildPipeline.BuildAssetBundle(Selection.activeObj ect, selection, path, BuildAssetBundleOptions.CollectDependencies | BuildAssetBundleOptions.CompleteAssets, BuildTarget.StandaloneWindows); Selection.objects = selection; } } } Thanks in advance. Regards Chris
×
×
  • Create New...