gamecreator Posted March 30, 2017 Share Posted March 30, 2017 Not sure if this is related to the issue mentioned here but when using a single collisionmesh in a scene, it interacts with the character controller as expected. However, adding additional collisonmeshes results in none of them interacting with the character controller, even the one that was working previously. I'm trying to get a 2.5D platformer going again (with invisible walls front and back). The ground was working fine but when I added the invisible walls as additional collisionmeshes, neither of the three collided with the controller, even though the editor showed them as physics shapes. Quote Link to comment Share on other sites More sharing options...
gamecreator Posted March 30, 2017 Author Share Posted March 30, 2017 Adding a second polymesh by code works as expected: box1 = Model::Box(); box1->SetPosition(4, 0, 0); Shape* shape = Shape::PolyMesh(box1->GetSurface(0)); box1->SetShape(shape); Quote Link to comment Share on other sites More sharing options...
gamecreator Posted March 30, 2017 Author Share Posted March 30, 2017 collisionmesh can't be imported just by itself. Importer relies on a mesh to be in the FBX with it. Not sure if relevant. Loading one collisionmesh per MDL works and solves my problem but Josh may want to look at the bug. 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.
Note: Your post will require moderator approval before it will be visible.