Jump to content

Adding Collisions to complex object


Guest Astral
 Share

Recommended Posts

Guest Astral

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.

error1ek.jpg

 

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

error2ad.jpg

 

It's probably something simple which I can't figure out >_>

Link to comment
Share on other sites

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.

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

Guest Astral

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.

 

 

41578_182456567620_1470905_n.jpg

 

Perfect.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...