Alessandro Posted June 13, 2011 Share Posted June 13, 2011 (edited) Hello, I made a big rock model, and using phygen.exe I generated a hull-physics model *.phy. The problem is th editor tell me my rock has physics (activating debug for physics the model seems correct), but I have no collision with OILDRUM (built-in model in LE) and no collision with FPS playern (using "fpscontroller.lua"). I even tried to load the moel using LoadModel from LUA, but I have no collision, no interaction. WEhat's wrong? Please help me! Thank you! EDIT: It seems th model loaded in the editor does not contain any property (properties window is empty). Edited June 13, 2011 by Alessandro Quote Link to comment Share on other sites More sharing options...
Marleys Ghost Posted June 13, 2011 Share Posted June 13, 2011 Have you set the collision type? the default is none. Just read your edit you need to create a basic .lua file for it to have properties. simple, double click the main objects icon (not the instance in the scene) when the lua editor opens with a blank page add: require("scripts/class") local class=CreateClass(...) then save and restart the editor, the instances of that object will now have a properties box. 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...
Alessandro Posted June 13, 2011 Author Share Posted June 13, 2011 Great! It worked! I didn't create LUA files! Thank you! (thumb up for you :-) 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.