#Wind physics

1 messages · Page 1 of 1 (latest)

coral drum
#

Wind pushes things in a direction, and some blocks are better at absorbing it for forward movement.

steady shale
#

YES PLEASE!!! I NEED PROPER SAIL BOATS!!!

coral drum
#

no more need for propellers hidden behind wool

weak ferry
#

irl it depends on air pressure and what not

#

but there's no way to simulate that without completely killing performance

coral drum
weak ferry
#

already had a guy mald about it when it was suggested

coral drum
#

right

#

if it were me i would tell him to cry about it but if that's not an option maybe make the winds different depending on the location

#

let me see how i can explain it

weak ferry
coral drum
#

hmmm

coral drum
weak ferry
#

because you can’t do it during terrain gen

#

so you’ll have to calculate it on the fly

coral drum
#

so it would be a problem when generating new chunks

weak ferry
#

pretty much

#

you don't know if there's a body of water in a chunk until you actually generate it

coral drum
#

are you sure it would kill performance

#

nvm

#

so wind direction is the problem not the strength?

unborn harness
#

wind direction is the main problem

coral drum
#

would it be easier to use the technique with biomes instead of blocks

weak ferry
#

you don't know what biome it is in ungenerated chunks

#

so you would have to constantly recalculate every time a chunk is generated

coral drum
#

which would be heavy on the pc

#

is there a common wind direction for diffrent biomes irl

weak ferry
#

wind direction depends mostly on location

coral drum
#

yea like colder biomes are more north

#

and south

weak ferry
#

location relative to equator and what not

#

so a cold location on the north and south pole are going to have different winds

coral drum
#

right

crisp comet
#

prob easiest solution

crisp comet
#

sure, ya cant add all biomes from modded

#

but ya can cover most popular ones for sure

steady shale
weak ferry
#

found it in the code

steady shale
# weak ferry which is?

Tbh, I don't know the technical stuff since idk code but when you sit in the ship and steer it then there is a little wind guage that pops up that tells you the wind direction.

weak ferry
#

the wind is randomized

steady shale
#

Still don't get why that's a problem

#

So what if they mald about realism

#

It's simpler to do random and it won't butcher fps

weak ferry
#

there’s no way to predict it ahead of time

#

so you can’t really plan for it

#

that’s the only thing i can think of

steady shale
#

Can't you just make so the initial wind direction us random and then it'll slowly shift side to side?

#

Like the wind starts going west, but slowly shift northwards, then shifts southwards. But still in the general direction of being west

weak ferry
#

you would have to know the code ahead of time to plan for it

#

which sounds meh

#

the average player isn’t going to dive into the codebase to figure out how wind changes and at what intervals

#

so they’ll still end up in a situation where the wind will change halfway into a trip

#

leading to them having to either swim in a painfully slow zig zag pattern

steady shale
#

But that's realistic?

weak ferry
#

or just cutting their losses

steady shale
#

Wind direction is always changing

weak ferry
#

either way

#

I’m just playing devil’s advocate

steady shale
#

What if the changes follow the daylight cycle?

#

Like the wind will go north at midday and slowly the wind will circulate around

#

So at midnight it'll go south

#

There are mods that change daylight cycle length so maybe you could take that into consideration as well.

#

You could maybe have it count ticks

#

Either way, if it follows some aspect of time, it'll be consistent

thorn arrow
#

If you were to use a simplfied version of air pressure that did not evaluate every tick, maybe it could be stopped from killing performace? Maybe it could determine wind in each chunk instead of per block?

#

Maybe multiple chunks per wind chunk even

void mauve
#

what does sea of thieves do for wind?

#

it's random right?

#

like it changes direction at random?

echo linden
#

I'm working on a wind addon

#

wind direction is determined by moon phase, strength is based on weather and time of day

#

right now the wind isn't location based (but is dimension based)

void mauve
#

location based wind just does not sound fun

#

most of the time sailing would just be trying to get within the wind

echo linden
echo linden
void mauve
#

fair

#

honestly a vs addon that does wind similar to sea of thieves would be pretty neat
like you can put sails on a bearing and rotate it to catch the wind

#

so you dont need to move the entire ship to the wind

echo linden
#

That does sound cool. Tbh idk if I would know how to make that. What I'm currently going for is compat with eureka and just making it a bit more immersive

#

I want to make it so that ships of different sizes are faaster/slower depending on direction of travel relative to the wind, I think it's a fun gamplay feature (like sea of theives)

void mauve
#

yeah

#

if an addon were to use a bearing to rotate sails then it should probably be a secondary feature
so that you dont need create but it benefits to have it

echo linden
#

I’m just rewriting some code because I realized the wind physics weren’t good but I’ll send a video once I’ve got it working again

echo linden
#

#1267645535565643776 message

#

@midnight sierra

zinc anvil
#

or the seed map or whatever it's called

#

and temperature