How can I do so that the car does not crash before reaching the tree?

Discussion in 'Tracks' started by quetillo, Aug 27, 2021.

  1. quetillo

    quetillo Member

    Joined:
    Mar 20, 2020
    Messages:
    363
    Likes Received:
    15
    Location:
    España
    I wanted to know if anyone knows, if you can make an object that has a collision, but does not collide before arriving. I have a tree next to the path, when I pass by it it collides 1mt from the tree, it does not collide with the road. solution, cocha as seen in the photo in the perimeter square.
     

    Attached Files:

    • pino.JPG
      pino.JPG
      File size:
      271.8 KB
      Views:
      151
  2. Johnr777

    Johnr777 Moderator

    Joined:
    Jul 26, 2017
    Messages:
    1,050
    Likes Received:
    615
    Because the box you are highlighting is the actual size of the object
     
  3. quetillo

    quetillo Member

    Joined:
    Mar 20, 2020
    Messages:
    363
    Likes Received:
    15
    Location:
    España
    Thank you,
    for example I have some things that are not so big and they have the square closer. I imagine that this is the object, because when it is created in blender, the measurement is that of the square, not that of the image.
     
  4. Johnr777

    Johnr777 Moderator

    Joined:
    Jul 26, 2017
    Messages:
    1,050
    Likes Received:
    615
    Thats when you make 2 objects, one is the visual object - real size, no collision. Then the second object, smaller, set to for collision and render=false in kseditor
     
    quetillo likes this.
  5. quetillo

    quetillo Member

    Joined:
    Mar 20, 2020
    Messages:
    363
    Likes Received:
    15
    Location:
    España
    I can not understand, from the same RTB or from the kseditor?
    or maybe i have to update the xpack
     
  6. Johnr777

    Johnr777 Moderator

    Joined:
    Jul 26, 2017
    Messages:
    1,050
    Likes Received:
    615
    I don’t use RTB
     
  7. quetillo

    quetillo Member

    Joined:
    Mar 20, 2020
    Messages:
    363
    Likes Received:
    15
    Location:
    España
    kseditor
     

    Attached Files:

  8. quetillo

    quetillo Member

    Joined:
    Mar 20, 2020
    Messages:
    363
    Likes Received:
    15
    Location:
    España
    [QUOTE = "Johnr77Well then it will not be possible, I use RTB, you can give it collision but it remains collision to everything, transparency included
     
  9. fughettaboutit

    fughettaboutit aka leBluem

    Joined:
    Jul 21, 2014
    Messages:
    1,117
    Likes Received:
    379
    ye i think RTB is not really made for this

    What you need is a small pole that acts as the "stem" of the tree, dont fiddle with the tree-mesh itself
     
    quetillo likes this.
  10. quetillo

    quetillo Member

    Joined:
    Mar 20, 2020
    Messages:
    363
    Likes Received:
    15
    Location:
    España
    I could make a stick and put it in the trees and then hide them in kseditor, but it would be overloading the section
     
  11. fughettaboutit

    fughettaboutit aka leBluem

    Joined:
    Jul 21, 2014
    Messages:
    1,117
    Likes Received:
    379
    I dont quite understand, you mean its bad for performance?

    If the stems are RENDERABLE=0 then it does not hit performance, the physics calculations for them are of course... (trees far away from the road dont need this)
     
    quetillo likes this.
  12. quetillo

    quetillo Member

    Joined:
    Mar 20, 2020
    Messages:
    363
    Likes Received:
    15
    Location:
    España
    It is the only way that it collides like this, I made a tree in sketchup in 3d trunk and branches not photo, I put it in the rtb and it comes out the same as the others, I mean a square around it. in the xpack I gave it to render in case maybe but it's still the same
     
  13. fughettaboutit

    fughettaboutit aka leBluem

    Joined:
    Jul 21, 2014
    Messages:
    1,117
    Likes Received:
    379
    Have you removed collider from your trees? ;)
     
    quetillo likes this.
  14. quetillo

    quetillo Member

    Joined:
    Mar 20, 2020
    Messages:
    363
    Likes Received:
    15
    Location:
    España
    Well, when I created the xpack I put a collider, I would have to do it without a collider and then how it would crash
     
  15. quetillo

    quetillo Member

    Joined:
    Mar 20, 2020
    Messages:
    363
    Likes Received:
    15
    Location:
    España
    Thanks for the help, I already got it, without colliding and modifying it in kseditor, but trees like this in 3d cannot be put much because otherwise it occupies many megabytes of the section.
     
  16. quetillo

    quetillo Member

    Joined:
    Mar 20, 2020
    Messages:
    363
    Likes Received:
    15
    Location:
    España
  17. fughettaboutit

    fughettaboutit aka leBluem

    Joined:
    Jul 21, 2014
    Messages:
    1,117
    Likes Received:
    379
    Finally ;)
     
    quetillo likes this.
  18. quetillo

    quetillo Member

    Joined:
    Mar 20, 2020
    Messages:
    363
    Likes Received:
    15
    Location:
    España
    The bad thing is that if you create it in 3d you can't put many, even if they are low polygon. I tried a 2km straight and I put about 50 trees and I had 400mb only with the trees, with nothing else, because if I put more objects, bad
     
  19. fughettaboutit

    fughettaboutit aka leBluem

    Joined:
    Jul 21, 2014
    Messages:
    1,117
    Likes Received:
    379
    when using
    KS_TREEGROUP_
    naming style, then ksEditor will make them one mesh and that should not take up 400 MB
     
    quetillo likes this.
  20. Johnr777

    Johnr777 Moderator

    Joined:
    Jul 26, 2017
    Messages:
    1,050
    Likes Received:
    615
    He wont be able to do that with RTB....
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice