xtreampb Posted June 16, 2013 Share Posted June 16, 2013 So i have a model in the editor and another being loaded in code. all the settings are the same, same model being loaded with the same phy file being loaded but the one being loaded by code is falling through the floor while the one in the editor collides and reacts as expected. this is possibly a bug but i wanted to make sure i wasn't doing something wrong first. ~Xtreampb~ Quote bool Life() { while(death=false) { if(death==true) return death; } } I have found the secret to infinite life Did I help you out? Like my post! Link to comment Share on other sites More sharing options...
beo6 Posted June 16, 2013 Share Posted June 16, 2013 Can you provide a bit of code to see if there is something wrong? Thanks. Quote Link to comment Share on other sites More sharing options...
cassius Posted June 16, 2013 Share Posted June 16, 2013 Have you set the physics mode of the loaded model in code? Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++ Link to comment Share on other sites More sharing options...
xtreampb Posted June 16, 2013 Author Share Posted June 16, 2013 ok update so i removed my collision hook and it no longer falls through, but why does my collision hook allow my moddel to fall through? Quote bool Life() { while(death=false) { if(death==true) return death; } } I have found the secret to infinite life Did I help you out? Like my post! Link to comment Share on other sites More sharing options...
xtreampb Posted June 16, 2013 Author Share Posted June 16, 2013 ok everyone i found my error thanks for the quick response. Best programming community in the world hands down My mistake was that my block breaks apart and the broken models need to have sweep collision set to enabled. Quote bool Life() { while(death=false) { if(death==true) return death; } } I have found the secret to infinite life Did I help you out? Like my post! 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.