1. #1

    Underwater riding?

    Hey guys it's been a while since I've posted anything on here, been busy with work and such lately. I love the new DLC, it's great!
    But, I'm curious as to how they did the underwater driving, with the ability to crash underwater. So, any ideas or help would be much appreciated.
    Share this post

  2. #2
    funktastic-'s Avatar Banned
    Join Date
    Sep 2014
    Posts
    929
    They most likely would have used either the player/crash/hit event , but something tells me while im typing this that maybe they all don,t work underwater. Worth a shot they work on land don,t know of any reason why they wouldn't underwater. I could be wrong though
    Share this post

  3. #3
    Core2TOM's Avatar Senior Member
    Join Date
    Mar 2014
    Location
    Germany
    Posts
    506
    i made a short video a few months ago. its not perfect, but its working so far:



    or if you place some water planes, you can set then to decoration only in the advanced physics properties. but then you dont have splash effects and it doesnt feel like you are unter water. then you would have to experiment with the bike / rider´s gravity etc.
    Share this post

  4. #4
    Thanks a lot! Really helped. I modified it a bit so it's universal and works through all water in the level. I'm working on making it so you don't have to select all of the objects you can crash on while underwater though. We'll see what I come up with and if it's good I'll share my findings, and reference you as the base of the logic behind underwater riding.
    Share this post

  5. #5
    I would just glue a trigger to the rider using a physics joint.
    Size the trigger from the riders head to his hip.
    On hit to a player event unconcious.
    Trigger by static objects & dynamic objects.
    Finished...test
    Share this post

  6. #6
    funktastic-'s Avatar Banned
    Join Date
    Sep 2014
    Posts
    929
    Its like the devs invented their own superglue , it universal. works for everything
    Share this post

  7. #7
    Core2TOM's Avatar Senior Member
    Join Date
    Mar 2014
    Location
    Germany
    Posts
    506
    Originally Posted by Archon453 Go to original post
    I modified it a bit so it's universal [...] I'm working on making it so you don't have to select all of the objects you can crash on while underwater though.
    what do you mean with "universal" ? the reason why i selected every single stone under water is, this is 100% working and no need to explain much more.

    you could select water on hitting objects 2 and set it to exclude, but the problem with exclude or the static objects checkbox is:
    - water planes are static objects
    - checkpoint custom respawn points are static objects
    - area triggers are static objects
    - etc.

    in other words: if you touch ANYTHING you will crash.

    maybe its another bug. i cant imagine the game is supposed to work like that (?) maybe we could ask this today on the editor stream
    Share this post

  8. #8
    You are on Ps4 right? and yes, we should ask them because I am curious about this. I said more universal because right now I don't need area triggers to activate and de-activate my water. It works without them perfectly, and affects all water in the world. I'm just trying to figure how to do the collisions without having to select them individually.
    Share this post

  9. #9
    Question, anyone know how to increase visibility underwater? Like a larger view distance?
    Share this post

  10. #10
    I got the whole thing to work differently, I placed the water plane itself and made that no contact response, this way the rider doesn't take affect to the water this way but doesn't reduce speed or buoyancy to the rider, but that isn't an issue. Go on the properties of the rider and disable gravity to the rider and set it to 1, it's enough to keep the rider down and playability is still fun, but the rider is still a tad too fast, so go into the bike settings and reduce the bike speed down a tad so you can get the full rider experience like you did in the previous single player dlc.

    Warning on the water plane, sometimes it bugs out when placing objects or fiddling with properties on other objects, so go back into the water plane properties and move the cursor over to default and place it back to no contact response again. Editor glitch but that helps it to work again. Hope this helps.

    For the distance you will have to fiddle with the water settings itself while in the water to see it's current effect, try amount of water and colour changing... depth of view won't do much but think of it this way, it'd be blurry for you either way if you did it in real life.
    Share this post