reepblue Posted December 14, 2015 Share Posted December 14, 2015 I've been playing with the vegetation system a bit and here are two problems I've found with the collision. 1) The collision checkbox does not seem to do anything. It seems it's stuck at true and if a model has a phy file, it will automatically enables collisions. I set collision for all my layers to false, and the trees and rocks still had collision. 2) Collision models don't scale with the actual model scale. I created a few rock models in blender. One model (rock01) has it's scale uniformed to 1.0,1.0,1.0, while the other two are a little bigger/smaller. If rock01 is used, it behaves as expected. When the others are used, the collision does not match the model. Here are my rock models to test with, Note the scale value on each model. If you place the models in the scene "normally" (Not vegetation), everything will work fine. Cyclone - Ultra Game System - Component Preprocessor - Tex2TGA - Darkness Awaits Template (Leadwerks) If you like my work, consider supporting me on Patreon! Link to comment Share on other sites More sharing options...
reepblue Posted December 23, 2015 Author Share Posted December 23, 2015 Don't mean to sound annoying, but any update on this since 4.0 is in preview? Cyclone - Ultra Game System - Component Preprocessor - Tex2TGA - Darkness Awaits Template (Leadwerks) If you like my work, consider supporting me on Patreon! Link to comment Share on other sites More sharing options...
Josh Posted December 23, 2015 Share Posted December 23, 2015 No update right now on this. Wait, that's an update. My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
reepblue Posted December 23, 2015 Author Share Posted December 23, 2015 Alright, just makes me feel better knowing you acknowledge issues posted. Cyclone - Ultra Game System - Component Preprocessor - Tex2TGA - Darkness Awaits Template (Leadwerks) If you like my work, consider supporting me on Patreon! Link to comment Share on other sites More sharing options...
Marcousik Posted December 23, 2015 Share Posted December 23, 2015 to the question 1) the collision checkbox activates the "pickMode" selected on your material to stop the bullet if you shoot with a gun. Without the checkbox activated, "pickMode" from material has no effect. Problem 2) The shape scale problem can be solved using Raycast (pick function) from the player camera; on this way the player movements collision can be detected and stopped ! (with "pickmode" on material and collision checkbox on terrain vegetation checked) By using this, the model doesn't need a shape (none). This may not be a solution as good as using a shape (more physics realistic) but until a better solution be found, it's usable Link to comment Share on other sites More sharing options...
Josh Posted January 7, 2016 Share Posted January 7, 2016 I believe all these issues are fixed for the next build. I knew there would be a few small problems with the vegetation system which is why we are calling the current build a "preview". 1 My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts