Guest Astral Posted July 12, 2011 Share Posted July 12, 2011 Hello again, so many questions, so few answers. But hey, at least when new people arrive in the future, there will be an answer for there questions already :L I looked all over the forum & went through your videos on youtube, but I still can't figure out how to successfully add collision to a complex object like this castle of mine. By default, there is no "properties" option when I import my object. However if I copy the .LUA from e.g. oildrum, and copy it to my project's LUA. I get the properties box up, played with all the setting, and there is a tiny collision (where I can't walk through) on the gate (that is probably the collision from the oil drum size, however I looked through the LUA code but have no idea how to expand it, since there doesn't seem to be any details of sizes, I replaced there .MAT with my lower-castle texture .MAT, but still no collision and player can walk through wall). Physics works successfully, if your wondering, if I shoot the castle it flies away xD It's probably something simple which I can't figure out >_> Quote Link to comment Share on other sites More sharing options...
cassius Posted July 12, 2011 Share Posted July 12, 2011 In the castles properties set collision type to "scene" and gravity to "true" then save your program and delete castle phy file. When you reload program a new phy file will be genetated by editor. 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...
macklebee Posted July 12, 2011 Share Posted July 12, 2011 Are you using the Evaluation version or are you an SDK owner? If you are an SDK owner, then you need to follow the instructions in this post: http://www.leadwerks.com/werkspace/topic/127-if-you-need-access-to-the-forum/ Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
Guest Astral Posted July 12, 2011 Share Posted July 12, 2011 In the castles properties set collision type to "scene" and gravity to "true" then save your program and delete castle phy file. When you reload program a new phy file will be genetated by editor. Perfect. 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.