#Rotating Vectors
1 messages ยท Page 1 of 1 (latest)
thx
well blue is indeed -1 of red
but it doesn't point onto the front part ( dont know the name rn ) of the ship
seems like the particles are offset a bit, ie at corner of block instead of cntre
cant tell from the pic
imma try drawing currentLocation.getDirection.Y + yaw
WorldEdit
that thing where both lines start is center of whole schematic
but not otherwise
did it work for all multiples of 90 like 90 or 270 or just 0 and 180
ok
imma try
i think yaw is in degrees
and sin and cos uses radians
0 works cuz 0 degrees is 0 radians
so I should try converting it
ye
it matches with the red line
yaw = Math.toRadians(yaw);
fixed it
ye
this is the direction for 90 radians
which lines up with this
blue line
hard to see but goes straight towards the "nose"
good idea ๐
no clue
prob gonna get block next to it
and set it to the hole
or have 2 variants of schemes
1 for 90 degrees
and 1 for 45
yep
but even just moving those ships was a big pain in the ass
yep
ah
thx tho
u even fixed my 2nd problem
which was ships weren't moving in the right direction
wanna see it in action?
yepls
gimme minute
sure
processing
SD processing
after it processes itself
you will be able to see that the ship can't rotate past 90degrees
ok it processed
can it also turn 90 degrees the other way?
thats the bug I found thanks to u
at the beggining it couldnt go right because it was at 90 degrees
oh no
im just stupid
nvm ๐
I have made Helm ( Wheel) which converts the rotation to Stemp ( that little thingy in the water )
and the stemp should give back a rotation to the ship
but I was using helm rotation for the rotation
soo thats why prob
oh it even tho stopped at 90 degrees
so it doenst work?
nah
I have to increase stemp return value every ship update
therefore it doesn't stay at same rotation ( ship ) but rotates continuously
i just read what you wrote and still idk if it works or not ๐
nah it doesnt rn
what's the issue?
u know how old ships work?
well if you start rotating to the right
you need to rotate the Stemp to the left
Thats what this class is doing
But it sofar just made it -1*
therefore it staid at same rotation
well im making ripoff that:D
i even have goldhoarder
emissions ..
nice
you get what i mean?
yes and no what do you mean it made it to -1 therefore it stays at that
idek what -1 is
sure