f13rce Posted December 28, 2009 Share Posted December 28, 2009 Hey lads, Since a few days ago I am having some weird collision problems. I am using a controller, and each time I walk e.g. on stairs it blows me away. I think this has to do with the physics. I was using the MilkShape GMF exporter to export the map and I let LE made the physics for me. So my question is: Can I edit the physics? If so, how? And if not, how can I fix that 'blowing away'? - Ivar/Evayr PS: Could you explain it as clear as possible? (PPS: There should be a questions board/forum section imo.) Quote Using Leadwerks Professional Edition (Beta), mainly using C++. Windows 10 / Linux Mint, Visual Studio 2017. GPU: NVidia GeForce GTX970, CPU: Intel i7 7700K @ 4.20 GHz Previously known as Evayr. Link to comment Share on other sites More sharing options...
Marleys Ghost Posted December 28, 2009 Share Posted December 28, 2009 General programming? 3D modelling? Quote AMD Bulldozer FX-4 Quad Core 4100 Black Edition 2 x 4GB DDR3 1333Mhz Memory Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5 Windows 7 Home 64 bit BlitzMax 1.50 • Lua 5.1 • MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro 3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET LE 2.5/3.4 • Skyline • UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0 Marleys Ghost's YouTube Channel • Marleys Ghost's Blog "I used to be alive like you .... then I took an arrow to the head" Link to comment Share on other sites More sharing options...
cassius Posted December 28, 2009 Share Posted December 28, 2009 I don't understand the term "blows me away". What actuallu happens.? I have weird collisions problems. In my case collisions with controller occur but don't look natural. 1 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...
wh1sp3r Posted December 28, 2009 Share Posted December 28, 2009 blows me away: like, he flew away, lol Quote -= Phenom II X4 965 3.4Ghz - ATI HD5870 - 6 GB DDR3 RAM - Windows 8 Pro 64x=- Website: http://www.flamewarestudios.com Link to comment Share on other sites More sharing options...
Marleys Ghost Posted December 28, 2009 Share Posted December 28, 2009 blows me away: like, he flew away, lol Ah ... not "blows me away" as in "impressed" then Quote AMD Bulldozer FX-4 Quad Core 4100 Black Edition 2 x 4GB DDR3 1333Mhz Memory Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5 Windows 7 Home 64 bit BlitzMax 1.50 • Lua 5.1 • MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro 3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET LE 2.5/3.4 • Skyline • UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0 Marleys Ghost's YouTube Channel • Marleys Ghost's Blog "I used to be alive like you .... then I took an arrow to the head" Link to comment Share on other sites More sharing options...
Pixel Perfect Posted December 28, 2009 Share Posted December 28, 2009 I have had lots of problems with this in the past and anyone who gets to the point of pushing the physics in Newton will do so. In your case it might just require a better physics hull but essentially small physics shapes seem to allow the controller to penetrate them and Newton then produces a massive opposite force which sends you flying off. You can try swept collision which certainly helps but is a lot slower. If you don't have much going on you can get away with this. ref: Swept Collision Quote Intel Core i5 2.66 GHz, Asus P7P55D, 8Gb DDR3 RAM, GTX460 1Gb DDR5, Windows 7 (x64), LE Editor, GMax, 3DWS, UU3D Pro, Texture Maker Pro, Shader Map Pro. Development language: C/C++ Link to comment Share on other sites More sharing options...
Josh Posted December 29, 2009 Share Posted December 29, 2009 The only time I have seen this occur is when a really detailed collision shape was used with lots of small triangles, and it was a situation that should not have been allowed to happen. Quote 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...
Niosop Posted December 29, 2009 Share Posted December 29, 2009 I was having this problem just using a player controller on the Desert and Arctic example maps. As soon as I added the player controller it would go shooting off in some direction. When I made my own terrain it stopped happening. Quote Windows 7 x64 - Q6700 @ 2.66GHz - 4GB RAM - 8800 GTX ZBrush - Blender Link to comment Share on other sites More sharing options...
cassius Posted December 29, 2009 Share Posted December 29, 2009 Pixel Perfect has described my problem better than I could. 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...
f13rce Posted December 29, 2009 Author Share Posted December 29, 2009 The only time I have seen this occur is when a really detailed collision shape was used with lots of small triangles, ^True. And that 'blowing away' is that it warps/moves me to other spots very fast ignoring the other physics around it.. I'll upload a vid soon as soon as I get from Zigiz. Quote Using Leadwerks Professional Edition (Beta), mainly using C++. Windows 10 / Linux Mint, Visual Studio 2017. GPU: NVidia GeForce GTX970, CPU: Intel i7 7700K @ 4.20 GHz Previously known as Evayr. Link to comment Share on other sites More sharing options...
TylerH Posted December 29, 2009 Share Posted December 29, 2009 This occurs in the tunnel underground map just like it used to, if you jump onto the corner at the junction of two tunnels it will shoot you to the other end, like back in 2.23. Josh fixed it before, but seems it is back... Could be a Julio thing? Quote nVidia 530M Intel Core i7 - 2.3Ghz 8GB DDR3 RAM Windows 7 Ultimate (64x)----- Visual Studio 2010 Ultimate Google Chrome Creative Suite 5 FL Studio 10 Office 15 ----- Expert Professional Expert BMX Programmer ----- Link to comment Share on other sites More sharing options...
Josh Posted December 29, 2009 Share Posted December 29, 2009 No, because I wrote the controller implementation. Maybe I can cap the max force that can be applied. Quote 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...
Pixel Perfect Posted December 29, 2009 Share Posted December 29, 2009 Maybe I can cap the max force that can be applied. Or better still, allow us to set it 1 Quote Intel Core i5 2.66 GHz, Asus P7P55D, 8Gb DDR3 RAM, GTX460 1Gb DDR5, Windows 7 (x64), LE Editor, GMax, 3DWS, UU3D Pro, Texture Maker Pro, Shader Map Pro. Development language: C/C++ Link to comment Share on other sites More sharing options...
f13rce Posted December 30, 2009 Author Share Posted December 30, 2009 I still don't have an answer how to fix that... =/ Quote Using Leadwerks Professional Edition (Beta), mainly using C++. Windows 10 / Linux Mint, Visual Studio 2017. GPU: NVidia GeForce GTX970, CPU: Intel i7 7700K @ 4.20 GHz Previously known as Evayr. Link to comment Share on other sites More sharing options...
Josh Posted January 3, 2010 Share Posted January 3, 2010 If you want help, you need to post your files. I examined this issue in the tunnels map. At first I tried capping the max force, but then I noticed the geometry had some one-sided triangles in the corners. This was what caused the controller to get thrown sideways when pushing around the corner. I uploaded a fixed .phy file. It is interesting that another problem we had early on was also due to bad geometry, and the controller was working correctly. This was caused when the player was unable to go up a step, and I looked and found the step was sloped. You can read about it in the old forum. Quote 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...
Jardar Posted January 3, 2010 Share Posted January 3, 2010 Is there possibly some way of opening .phy files in a 3d modeling program, so we can review the shapes, save as obj and re-convert into new and revised .phy files? edit: for the automatically created phy files I mean. Quote Win7: 3.4GHz i7, 16Gb RAM DDR3, Radeon HD 6970 2048MB 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.