Jump to content

Collision Shape Automation


tjheldna
 Share

Recommended Posts

I'm finding the current collision shape generation method a bit clunky, as everything else imports automatically it's a bit strange that this does not and the feature is a bit hidden unless you know how.

 

This has really come to my attention for the creation of buildings where I'm frequently re importing to quickly to make sure thing's measure up by walking around in game (before I get too committed with texturing etc).

 

This is just my idea...

 

- Have a "Polymesh" and "Convex" option in the drop down list, under the physics tab. If either is selected a shape generates to be used for all instances.

 

- Also the shape's regenerate if the model changes or re-imported.

 

- Maybe a bit of cleanup too so say if you generate a convex hull and then you change it to a box. A check is done to see if any other instances are using it in the world. If not the shape auto deletes.

 

- Definitely still keep the option to generate your own shape and select it, in case you want to use a more optimised shape.

 

 

Cheers!

  • Upvote 2
trindieprod.png?dl=0spacer.png?dl=0steam-icon.png?dl=0twitter-icon.png?dl=0spacer.png?dl=0
Link to comment
Share on other sites

I had the same issue yesterday with some models I was working on. I was modeling it and Leadwerks was updating the mesh in real time. I just wanted to run the scene and have the collision update accordingly. So I wrote a lua script that automates it for me. I'll share the script tomorrow when I get off work.

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...