[DiscordArchive] Shouldn't creatures be able to enter water if they cannot swim up until a certain point?
[DiscordArchive] Shouldn't creatures be able to enter water if they cannot swim up until a certain point?
Archived author: robinsch • Posted: 2024-07-22T17:47:59.892000+00:00
Original source
Shouldn't creatures be able to enter water if they cannot swim up until a certain point?
Archived author: Deleted User • Posted: 2024-07-22T17:48:17.544000+00:00
Original source
That's basically what started me on this journey lol
Archived author: robinsch • Posted: 2024-07-22T17:48:39.923000+00:00
Original source
I think it is up until 40% of their bounding box height
Archived author: Deleted User • Posted: 2024-07-22T17:49:26.723000+00:00
Original source
The 2 issues i'm resolving are:
1. Creatures that can't go in water instantly evade if you even so much as step a toe in water.
2. Creatures that are in water but can't fly or walk instantly evade if you jump out of the water. This one is admittedly an easy fix by just checking if you're falling so secondary.
Archived author: robinsch • Posted: 2024-07-22T17:49:30.746000+00:00
Original source
(atleast at this point client stops rendering water ripples and the code is run even for creatures that cannot explicitly swim)
Archived author: Deleted User • Posted: 2024-07-22T17:50:33.504000+00:00
Original source
This is helpful. LiquidStatus returns the water depth so i should be able to fudge it with that.
Archived author: jackpoz • Posted: 2024-07-22T17:51:25.835000+00:00
Original source
I would check mmaps
Archived author: Deleted User • Posted: 2024-07-22T17:52:19.361000+00:00
Original source
I will return with results once I learn how to do that I'm not afraid of a code journey lol