Collision not working.

Discussion in 'Car Modding' started by Navigator, Jul 16, 2017.

  1. Navigator

    Navigator Registered

    Joined:
    Jan 15, 2012
    Messages:
    1,974
    Likes Received:
    206
    Hi guys,

    Busy with a private conversion, I encountered a problem; cars can go into each other.
    I can run from left to right through other cars with just a minor bump.......
    The cars do have a collision model that is the size of the cars and the .gen file says this:
    MeshFile=DALLARA_COLISION.GMT Render=False CollTarget=True HATTarget=False LODIn=(0.0) LODOut=(150.0)

    Thats okay, right?
    So; whats left? What can I do?
     
  2. Bernd

    Bernd Registered

    Joined:
    Jul 9, 2013
    Messages:
    101
    Likes Received:
    21
    Maybe it's the mesh itself.
    Check if the Normals are directed correctly, showing to the outside or if the mesh has some holes.
    Or, as first option, try the collision mesh from a car where the collision works, to check if it's the mesh that is wrong.
     
    Navigator likes this.
  3. Navigator

    Navigator Registered

    Joined:
    Jan 15, 2012
    Messages:
    1,974
    Likes Received:
    206
    Thank you; I will look into that.
    First option is no option for this as all cars do this.
    But checking the normals, I did that once and think I stil know how to do that ;)

    Thanks!
     
  4. Postipate

    Postipate Registered

    Joined:
    May 15, 2012
    Messages:
    518
    Likes Received:
    656
    Take from 397/isi mod the collision file.
     
    Navigator likes this.
  5. Navigator

    Navigator Registered

    Joined:
    Jan 15, 2012
    Messages:
    1,974
    Likes Received:
    206
    Thats actually a good idea too!
    Still want to know how those normals are, just to see if I can, but that is a solution also.

    Thanks!
     
  6. Postipate

    Postipate Registered

    Joined:
    May 15, 2012
    Messages:
    518
    Likes Received:
    656
    This is conversion from rF1? I have noticed that those files almost never work like they should in rF2. They needed to be done again.
     
    Navigator likes this.
  7. T1specialist

    T1specialist Registered

    Joined:
    Jan 11, 2012
    Messages:
    198
    Likes Received:
    106
    possible reasons:
    - triangulate your mesh
    - replace your mesh with similar size visible mesh to see it appears in the right position
    - if you use blender you need to reset you scaling and rotation (in 3dsmax this is "reset xform" I think)
    - make sure your pivot is in correct place
    - mesh has holes. Mesh needs to be fully enclosed, even at bottom I think
    - collider mesh doesn't need uvmaps
    - make a "collider" named material for the collider (doesn't need any changes in the material settings)
    - not sure but use flat shading for the collider mesh
    - use "no texture" as material
    - does the other car have collider?
     
    Navigator likes this.
  8. Navigator

    Navigator Registered

    Joined:
    Jan 15, 2012
    Messages:
    1,974
    Likes Received:
    206
    All worked out fine! I just took the other collision model.
    I'm not good with the mesh/normals/faces things; I tried but couldn't work it out anymore and so; choose the easy way out ;)

    Thanks all!
     
    Postipate likes this.
  9. Coutie

    Coutie Moderator

    Joined:
    Oct 5, 2010
    Messages:
    929
    Likes Received:
    317
    You can always just not include one, and have the game generate it for you.
     
    Navigator likes this.
  10. Navigator

    Navigator Registered

    Joined:
    Jan 15, 2012
    Messages:
    1,974
    Likes Received:
    206
    Really?
    Wow, I did not know that. Can't wait to try it out :)

    Thanks!
     

Share This Page