malakdecaen 3 Posted March 18, 2013 (edited) Hi everybody and sorry by advance for my bad english , I have a problem with my addon , it work in game but the problem is the collision , i can walk into the objects !!! see : i put my config.cpp : #define private 0 #define protected 1 #define public 2 enum { DESTRUCTENGINE = 2, DESTRUCTDEFAULT = 6, DESTRUCTWRECK = 7, DESTRUCTTREE = 3, DESTRUCTTENT = 4, STABILIZEDINAXISX = 1, STABILIZEDINAXESXYZ = 4, STABILIZEDINAXISY = 2, STABILIZEDINAXESBOTH = 3, DESTRUCTNO = 0, STABILIZEDINAXESNONE = 0, DESTRUCTMAN = 5, DESTRUCTBUILDING = 1, }; class CfgPatches { class Coffre { units[] = {}; weapons[] = {}; requiredAddons[] = {}; }; }; class CfgVehicles { class Thing; // External class reference class Coffre : Thing { _generalMacro = "Coffre"; scope = public; Icon = "\coffre\Texture\ico\iconbox.paa"; model = "\coffre\coffre.p3d"; displayName = "Coffre Tresor"; vehicleClass = "Objects"; destrType = "DestructNo"; accuracy = 0.2; }; }; How can i fix that ??? Thanks by advance for your help ; Edited March 18, 2013 by kakarot Share this post Link to post Share on other sites
adumb 0 Posted March 18, 2013 Do you have a geometry LOD? Looks like It's missing. http://manuals.bisimulations.com/vbs2/2-00/devref/Default.htm#Oxygen_Manual/Oxy_LODs/Oxy_LOD_Geometry.htm Share this post Link to post Share on other sites
malakdecaen 3 Posted March 18, 2013 no i have nothing , I create this model in C4D and inported in oxygen . Share this post Link to post Share on other sites
Messiah 2 Posted March 18, 2013 then you need to add one ;) Share this post Link to post Share on other sites
malakdecaen 3 Posted March 18, 2013 i don't understand , when i change the LOD 0.00 to geometry i can add mass but i can't see it in game ? what wrong ? and when i create a new LOD the chest is in yellow but i can do nothing . Share this post Link to post Share on other sites
Messiah 2 Posted March 18, 2013 You add the geometry LOD and you need to then put something in it which you then add mass to, a square preferably. Just go to the create menu and create a box and then resize it to the same size as your chest. The yellow is a background outline showing you what you primary LOD looks like - its not a physical model in the workspace. Adumb linked you everything you could possibly want to know about Geometry LODs. Share this post Link to post Share on other sites
SpecOp9 0 Posted March 18, 2013 I wish there was a "generate collision from mesh" button. What a time saver. Share this post Link to post Share on other sites
malakdecaen 3 Posted March 18, 2013 (edited) thanks a lot for your help , but it still not work ! i can still paste in my chest . i don't know what's wrong with my chest . ---------- Post added at 01:25 PM ---------- Previous post was at 01:24 PM ---------- I wish there was a "generate collision from mesh" button.What a time saver. where is this button ? Hey thank you very much for you'r help i appreciate that , now my chest have collision !! thanks a lot for you'r help . Edited March 18, 2013 by kakarot Share this post Link to post Share on other sites
adumb 0 Posted March 18, 2013 The link I posted has step by step how to make a working geo LOD. Share this post Link to post Share on other sites