GoldenEye: Source Forums

  • December 03, 2024, 05:16:40 pm
  • Welcome, Guest
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Creating A Collison Model for Prop Cinema 4D (STAIRS)  (Read 40472 times)

0 Members and 1 Guest are viewing this topic.

RogerMooreSucks

  • 00 Agent
  • ***
  • Posts: 242
  • Reputation Power: 0
  • RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.
  • Offline Offline
Creating A Collison Model for Prop Cinema 4D (STAIRS)
« on: December 02, 2015, 08:04:42 pm »

Hello Kraid, I have a finished snowy stairs model, but I have ran into a prop. It seems i need to make a collision model for the prop but I have looked every where on how to do it properly with no avail. I was wondering how would i go about doing this?
Logged
Troy, get back on that treadmill

kraid

  • Game Artist
  • 007
  • *****
  • Posts: 1,984
  • Reputation Power: 191
  • kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!
  • Offline Offline
    • my Homepage
Re: Creating A Collison Model for Prop Cinema 4D (STAIRS)
« Reply #1 on: December 03, 2015, 02:31:49 pm »

Not sure why you modelled the stairs at all, because this kind of stuff is usually done with func_detail brushwork because of the lightmap.

But if you really want this, for whatever reason, to be a prop, you surely have to build collision for it too.

A collision model is always composed of convex shapes.
Here's a good explaination of this topic: http://www.rustycode.com/tutorials/convex.html

In Cinema 4D you have to set the Phong Tag of every part of the CM to 180° and not have any phong breaks, detatched faces, inverted face normals,
unwelded vertics or anything that would cause the shading to create hard edges.

As for the Hierarchy, look at this image:

Left to right: Model, Level of Detail Model, Collision mesh.
(usually they are placed above each other at the same origin, i just draged hem apart for better visualisation)

So for your stairs there are several possibilities of building a collision:


A: simply wrapping the stairs into a single convex shape.
Depending on the size of the steps this might cause issues like bullet decals not showing up on parts
that are to far beyond the CM and players would move up these stais like it was a ramp.
(the later one isn't always a bad idea to prevent player view from shaking while moving up stairs, but can also be achived with a playerclip)

B: simply placing a Box for every stair, as easy as eating pancakes

C: also not exactly hard if you know how to do it.

D: i wouldn't recomend doing this, because it creates 1 more CM part then the other methods.
Logged
Pages: [1]   Go Up