Jump to content
The Dark Mod Forums

Open-sided colliders for containers?


grodenglaive

Recommended Posts

I tried to add a custom collider to a pot so you could, for example, hide a key in it that would fall out if the player tipped the pot upside down. This doesn't seem possible - any collider that isn't a single solid polygon gives me an error on map start. 

For example, something like this doesn't work:

collider.jpg.392269a90ea33293855ae91a7fa48296.jpg

 

Is this just a limitation of the engine or is there a way to do it? It's not super important, I just thought it would be cool to do. 

 

Edited by grodenglaive
Link to comment
Share on other sites

I'm pretty sure collision meshes have to be convex.

  • Thanks 1

{ 0 | 🞵 } = funk_tastic

My missions:           Stand-alone                                                      Duncan Lynch series                              

                                      Down and Out on Newford Road              the Factory Heist

                                                                                                  A House Call

                              

Link to comment
Share on other sites

On 9/15/2023 at 2:24 PM, grodenglaive said:

I tried to add a custom collider to a pot so you could, for example, hide a key in it that would fall out if the player tipped the pot upside down. This doesn't seem possible - any collider that isn't a single solid polygon gives me an error on map start. 

For example, something like this doesn't work:

collider.jpg.392269a90ea33293855ae91a7fa48296.jpg

 

Is this just a limitation of the engine or is there a way to do it? It's not super important, I just thought it would be cool to do. 

 

This was done in the mission Tears of Saint Lucia, where you have to shoot a vase with a key in it off a ledge.
It's right at the start of the mission, so go see how that was done.

  • Thanks 1

I always assumed I'd taste like boot leather.

 

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.

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.

  • Recent Status Updates

    • taaaki

      All services hosted on the server were sluggish. I've rebooted and it appears to be better. Let me know if there are still issues.
      · 3 replies
    • datiswous

      Forum is kind of slow lately..
      · 4 replies
    • taffernicus

      How fun is it to play as an undead in thief trilogy / dark mod ? The haunting(T2) and To the end with nothing(T2). Those FMs are exemplary according to me
       
      *tangential, Garrett vs countless apparitions
      https://ibb.co/hM0JrSh
       
      · 7 replies
    • JackFarmer

      Who is actually working on new missions right now? That I, the greatest mapper of all times (and I say this in all modesty, it is innate in me) am working on something epochal is clear to everyone by now. But who else is working on new missions? Please let me, your God, know, because it's so depressingly quiet here and I don't like to post pictures all the time, because even for me it gets a bit too boastful (although justified) with time.
      · 18 replies
×
×
  • Create New...