Jump to content
The Dark Mod Forums

Collision Meshes


Springheel

Recommended Posts

AF collision models would increase the processor load a lot for evaluating the physics. If you had 5 trays stacked up, I wouldn't be surprised if the framerate shot down to 1 FPS or so.

 

I still think this is one of those cases where we have to just make it a rectangular prism, and deal with either the sides clipping slightly if the top is even with the depression, or the objects slightly floating if the top is even with the sides. Or we could put it halfway between. :) The collision physics is only accurate to +/- 1 doom unit or so anyway, so a lot of things will be either slightly floating or slightly clipped.

Link to comment
Share on other sites

If someone wanted to I think it would be worth making it an AF even on the processor side of things. Most of the time it's going to be sitting on a table being completely dormant taking up no processing time, looking nice with food sitting in it, and how many will you want in one place? The only kinds of situations it will be bouncing around is if an explosion happened and everything went flying, or you threw it. Or an AI dropped it. Why would you even want to have 5 stacked on top of each other? :)

 

But for development's sake, I think your idea of putting it halfway down the depth of it would be a good comprimise, for what it would look like vs the options of making a full AF or it sinking completely through the floor if upside down.

 

Or maybe down as low as possible - the times you will see it up right with food on it should be much more than the times you see it upside down on the floor.

Link to comment
Share on other sites

Hmmm, I notice that the chairs have an essentially 'concave' shape (the back and the seat make an 'L' shape). What's the difference to the engine between that and a shape like \_/ ?

Link to comment
Share on other sites

They seem to. I've never noticed any problems, though maybe there are console warnings or something.

Link to comment
Share on other sites

I think the chairs work fine. I remember climbing over one in... I think it was test_readables.map... and noting that the collisions worked exactly as expected.

 

Then again, I don't think it was a moveable chair. Maybe that's why.

My games | Public Service Announcement: TDM is not set in the Thief universe. The city in which it takes place is not the City from Thief. The player character is not called Garrett. Any person who contradicts these facts will be subjected to disapproving stares.
Link to comment
Share on other sites

we'll have to check a moveable one. I haven't been doing much in the editor but checking my stuff. Maybe I'll look into it.

-----

For the record I got a 7 sided cylinder to work fine for a moveable gear. Will probably try an 8 sided soon.

10 was a no go.

Dark is the sway that mows like a harvest

Link to comment
Share on other sites

That's a moveable chair that the AI is sitting in in this thread/picture : http://forums.thedarkmod.com/index.php?act=a...ost&id=1499

 

The collision model seems to work pretty well. You can also spawn an adm:moveable_diningchair (or whatever it's called) and use "g_showcollisionmodels 1" to look at it. What you see there is whatever D3 is using, so if it's somewhat concave, then it can handle somewhat concave things.

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

    • The Black Arrow

      Hey @nbohr1morehow come the zombies in The Dark Mod don't have a "resurrection" mechanic to it, similar to how Thief has it?
      They're quite a weak creature as of right now, it's merely a walking corpse that slashes you, making attacking them to kill them an actual strategy.
      Would be better if they had some cool mechanism to it that truly makes them a danger, such as the resurrection idea itself.
      · 2 replies
    • Ansome

      Query: when was the last time a zombie in a video game was unnerving or scary to you? I'm chipping away at my anniversary submission and I've been trying to gather opinions on the subject. I'm perfectly capable of lighting them well, changing their sfx, and creating effective ambience, but I'm worried that zombies at their core are just too overdone to be an effective payoff to the tension I'm creating.
      · 4 replies
    • nbohr1more

      The Lieutenant 3 is out! Congrats Frost_Salamander! ( raising awareness )
      · 2 replies
    • OrbWeaver

      Has anyone had any luck with textures from Polyhaven? Their OpenEXR normal maps seem too washed out and give incorrect shading in the engine.
      · 5 replies
    • datiswous

      I tried to upscale the TDM logo video. First try:

      briefing_video.mp4 You can test it ingame by making a copy of the core tdm_gui.mtr and place it in your-tdm-root/materials/ , then edit line 249 of that file into the location where you placed the new briefing.mp4 file.
      What I did was I extracted all the image files, then used Upscayl to upscale the images using General photo (Real-Esrgan) upscale setting and then turn it back into a video.
      I might have to crop it a bit, the logo looks smaller on screen (or maybe it's actually better this way?). My video editor turned it into a 16:9 video, which I think overal looks better than 1:1 video of original.
      · 1 reply
×
×
  • Create New...