#Gears
1 messages · Page 1 of 1 (latest)
Yoooooo
Bro really did it
Do you set ratio, and channel, or only ratio and select 2 ships?
VEHCILE API..
you can also do this lmao
why would you set channel

what would channel even do

anyways i can only really change ratio
Good enough
How does it know which direction it should turn tho
E.g. if gears are parallel
also they are not fixed in space
Yea, I see what you did here 
So it knows?
wait, i need to test
Do parallel gears rotate the same, or opposite way?
no it's a gear constraint
it's pretty simple actually

does it work 90 degrees
this is why space eye is the goat
scroll up bruh
ok i see now
Do they just slide to the shared rotation codewise?
what
Like, they have a shared rotation and if rotational force is applied to one, its rotation is applied to the second one as well?
that's what i showed, yes
Yea, but I'm interested in how it works from the coding side
If you don't mind explaining ofc
val rotationConstraint = VSGearJoint(
shipId1, VSJointPose(sPos1.toJomlVector3d(), getHingeRotation(sDir1)),
shipId2, VSJointPose(sPos2.toJomlVector3d(), getHingeRotation(sDir2)),
maxForceTorque,
gearRatio = gearRatio,
)
thanks
Ooo, cool
Yooo spaceeye how are you doing buddy
im kinda dumb when it comes to code how would i put this into somethin do i put it in a vmod folder or smth?
o wait i think i got to i put it into a config thing but then it doesnt work
it just keeps crashing @sly coral
????????

when i put that code into the vmod config coding app i saved it then loaded up mc and it just keeps crashing and saying rendering error
what
this code
ok sry
what do you mean by that
enlighten me master spaceeye
what are you trying to do
get that gear thing for the vmod too gun
you can't
