Results 1 to 8 of 8

Thread: Playermodels disappear when too close

  1. #1
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts

    Playermodels disappear when too close

    Hello everyone!

    I encountered some stupid bugs with my playermodels.
    This happans for any of my custom character models:
    when you are too close or aim at them on a specific angle, they disapear!
    I have tested this with only these models as replacement for the standard ones,
    so no other mod parts conflict.
    The models are out of one piece (no head attached etc.)

    Heres a video:


  2. #2
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    It would be a materials setting. Please post your Asset Manager settings.

  3. #3
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts
    These are pretty much the default settings

    Attachment 696

  4. #4
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    There it is - in frame buffer operations, you have cullface set to "back". This will only show you one face of the model. Set it to "none".

  5. #5
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts
    Quote Originally Posted by Tally View Post
    There it is - in frame buffer operations, you have cullface set to "back". This will only show you one face of the model. Set it to "none".
    Thanks Tally, but this doesnt work either.
    Youre right with what culling is, but it should have been the same for any distance. It seems to me theres something wrong with the model (too much bones, improper setup, no lods etc)

  6. #6
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Quote Originally Posted by serthy View Post
    Thanks Tally, but this doesnt work either.
    Youre right with what culling is, but it should have been the same for any distance. It seems to me theres something wrong with the model (too much bones, improper setup, no lods etc)
    I'm sorry it doesn't work, but you are confusing "cull" with "lod" (level of detail) - cull with "cut off" the back or front of a texture so that only 1 side is shown; lod will only show the whole thing at a certain distance.

  7. The Following User Says Thank You to Tally For This Useful Post:

    serthy (2nd May 2014)

  8. #7
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts
    Quote Originally Posted by Tally View Post
    I'm sorry it doesn't work, but you are confusing "cull" with "lod" (level of detail) - cull with "cut off" the back or front of a texture so that only 1 side is shown; lod will only show the whole thing at a certain distance.
    Yes, therefore it must something with the lod.
    The model looks correct until you get to a certain distance and it will disappear, as the closest lod model isnt loaded.
    If it is a problem with the materials cull face mode, wouldnt the model look either weird (frontculling) or normal (backface culling / none)?
    And wouldnt it look like this the whole time?

    However i didnt set any lod in assetmanager here aare the models settings:

    Attachment 700

  9. #8
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts
    Fixed it!

    simply set all lod distances to a proper value and the same lod model for all
    + calculate bounds
    + default hitbox model

    EDIT:

    seems that calculate bounds is the culprit
    when unticked the bug appears, so select calculateBounds
    Last edited by serthy; 2nd May 2014 at 21:39.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •