#How do I make a orbit script in Builda?

1 messages · Page 1 of 1 (latest)

echo gale
#

How do I make an orbit script in Builda?

glass portal
#

Like gd

#

?

echo gale
#

No like an actual orbit script/component for planets and moons that move in real time and can move left right with a speed num and tidal lock

high jackal
#

is it the moon move around planet thingy?

echo gale
#

Yes how do you not now what it is you learn that in like 2nd grade

echo gale
high jackal
echo gale
#

Well sorry was just asleep

echo gale
high jackal
#

-make the custom comp and add it to the object (planet)
-then u can set the orbiting obj value to whatever object to orbit around (moon)
-smoothness work great only between 0-1 value
-for tidal lock thingy, if the orbiting obj has the rotation comp thingie then set enable to false or just set the value to 0

#

im not really good at naming stuffs

#

💔💔

high jackal
echo gale
#

K

#

Is the speed for the orbit or rotation of the planet?

#

@high jackal

echo gale
#

K

#

@high jackal

high jackal
#

hm

#

wait lemme adjust

high jackal
#

ok change to these

#

😭

#

if that still doent work, show me ur script
i will check if there any mistake here

echo gale
high jackal
#

change that to a multiplication symbol thing

#

wait

#

image is loading

#

ok soo the orbit radius

#

u multiply it not add it

echo gale
#

Thx I thought it was a x but it was a +

high jackal
echo gale
#

@high jackal sry for ping

high jackal
#

try setting the smoothness value to 1

#

i forgot to tell u that a lerp function

echo gale
high jackal
#

the moon was too slow to orbit around the planet that orbit the sun too quickly

#

try slowing down the planet and make moon the faster
the radius also affect it visually
it not a bug, it just how speed work

echo gale
#

K

high jackal
#

u can set the speed negative btw