LoLJester Posted January 12 Share Posted January 12 I'm also posting here for someone that may know what the issue may be. Collision failure with forest items that have two or more collisions (Collision-1, Collision-2, Collision-3, etc.) They collide fine with the player, but not with vehicles. If I use them as TSStatics, they work fine, but not when used with the Forest Editor. Sometimes, even objects with one collision fail to collide with vehicles. I'm using T3D 1.2. Has anything been added to the newest version to fix this? Or is there a fix? Quote Link to comment Share on other sites More sharing options...
Duion Posted January 13 Share Posted January 13 Why would you want to have multiple collisionmeshes? I usually just take the trunk and maybe big branches, separate them and make them the collisionmesh. I vaguely remember sometimes vehicles not colliding well with trees, but it was not that bad that I saw it as an issue and I never used vehicles much. Ok I did some tests and indeed collision is broken for trees, but it seems only for some trees, I tested one level of mine and the pine trees almost always collided properly, but the birch trees almost never, so for some reason the engine dislikes birch trees, so that may be a hint. Also collisions on vehicles are generally problematic, I had the vehicle glitching out on complex shapes a few times as well as some other bugs with vehicles that caused me to not consider using them. Maybe you can ask @Nils he said he will implement vehicles in his game in the next version so I'm pretty sure he already ran into several of the obvious vehicle related bugs. Quote Link to comment Share on other sites More sharing options...
LoLJester Posted January 19 Author Share Posted January 19 I just ended up using both methods. For shapes with more complex collisions, such as rocks, I just placed them as TSStatic with collisionType = "Collision Mesh" For shapes with a simple collision shape, I used the Forest editor. From all the tests that I have done, adding Convex Hulls collisions in the Shape editor seems to work better with the Forest editor. The Shape editor's collisions tab has many options that will help you get the right type of convex collision shape, from complex to simple. Quote Link to comment Share on other sites More sharing options...
Duion Posted January 20 Share Posted January 20 It would be interesting to find out why some trees do not collide properly, but others do. I also tried placing other objects such as rocks with the forest editor, but it occasionally created weird unexplainable bugs so I never did it again. I would not use anything other than the actual trunk model of a tree as collision because it will have weird effects on the gameplay like blocking players or shots, the whole collisionmesh thing is mostly nonsense as you would almost always use the visible mesh, except for stuff like vegetation you are not supposed to collide with and for playermodels that have like 15k polygons which will create lag otherwise. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.