Jump to content

mdl vs phy and collision type


Rick
 Share

Recommended Posts

If a mdl has the same name phy file it gets attached right? So I'm curious if we are able to set the collision type of both the mdl file and phy file separately or if you can't get to the phy entity file directly to give it it's own collision type.

 

I ask because we have a situation where we dissolve the material on the mdl with a shader so it's not visible, but we want to pick through it when this happens (so ideally I set collision type to None), but also don't want controllers to fall through it. Since picking is done on the mesh and not the phy, can I have the phy collision type set to Scene but the mdl collision type set to None? If so how would I access the phy file on a mdl file in code?

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