#guy any idea how i can calculate something for ground tilting

1 messages · Page 1 of 1 (latest)

main belfry
#

i made a raycast pointing at the ground of the humanoidRootPart the only probleme here is idk how i can change the orientation of the motor6D in the rootpart with the raycast

#

the raycast output ar very different compared the the motor6D value

#

changing value on the motor6D change everything so idk

forest patio
#

do you just wanna change the orientation if the raycast collides

main belfry
#

i made a render step for this

#

i just don't know how to calculate it

forest patio
#

so wait whats ur problem rn

#

what do you want to calculate

main belfry
#

i need to calculate the raycast.Normal into the motor6D orientation

#

so the character move without glitching out

forest patio
#

so you want to calculate a vector3 from the raycast

main belfry
forest patio
#

or like orientation

main belfry
#

yea

#

changing one value can change another one that how vector work but idk

#

am bad at math

forest patio
#
local raycastResult = Workspace:Raycast(rayOrigin, rayDirection)

the 2nd parameter is the direction is that what your looking for?

forest patio
#

like same angle

#

i think thats a little more complicated then you think it is

main belfry
#

like same angle yea

forest patio
#

you kinda have to write your own gravity and movement framework i thinkevilcat

main belfry
#

ik right lol funny yea

#

am cooked

forest patio
#

you are kinda cookedevilcat

main belfry
#

i just don't know bro

forest patio
#

I might cook wait

main belfry
forest patio
#

wait whats ur problem rn

main belfry
#

what return a raycast normal

#

is very different than the orientation vector

forest patio
#

ohhh

#

you get rad you need to convert to deg

main belfry
#

theire is degree ?

#

i didn't know

forest patio
#

evilcatno

#

you need to

main belfry
#

rizz epic

forest patio
#

idk

main belfry
#

math.deg then

#

less go

forest patio
#

yes

#

wrap that number in a math.deg and its gonna automaticly convert

main belfry
#

damn

#

thats op

forest patio
#

radiant are from -1 to 1
degree are from -180 to 180

#

yk

#

so 1 radiant is 180 degree

main belfry
#

bro why i didn't know that before cat

forest patio
#

Im learning that in math classevilcat

#

its horrible

main belfry
#

i skip school

forest patio
#

i should skip tooevilcat

main belfry
#

lol

#

make your parent proud

#

having good grades not like me

forest patio
#

my grades are horrible

main belfry
#

damn

forest patio
#

I failed math

main belfry
#

mee too bro 🥀 we cooked

forest patio
#

My teacher let me through

forest patio
main belfry
#

i don't think either of us ar gonna code a physic engine

forest patio
#

tbf I code pretty solid in my opinion

#

its just very time consuming

main belfry
#

you right

#

but yk that roblox helping you a lot

#

coding something from scratch

#

is a whole different deal

forest patio
#

ima stick with roblox🐒

main belfry
#

imagine the guy coding blender

#

its just math everywhere

main belfry
forest patio
#

Having a succcessful roblox game in the future is gonna make you hella rich tbf

#

roblox is like growing faster then ever

main belfry
#

nah ugc

#

my bad

#

but its doing pretty good

#

i made like 2 million bobuc this year bc of ugc

forest patio
#

thats hella cash

main belfry
#

coolguy ik ik

forest patio
#

like 7 grand

main belfry
#

i think yea but i keep some for paying dev and things

#

so i just made like 4 grand

#

i didn't cash everything up

forest patio
#

still

#

4grand have it or not have it

main belfry
#

nah its a money maker you right

main belfry
forest patio
#

are you into obbies?

main belfry
#

am doing a dbd game right now

forest patio
#

dbd?

main belfry
#

dead by daylight

#

flee the killer

forest patio
#

oo

#

you know etoh or like jtoh?

main belfry
#

no

forest patio
#

shi

#

I wanna make like a open world obby game

main belfry
#

tell the full name maybe i would know it

forest patio
#

but i suck at making obbies

main belfry
forest patio
#

Eternal's/Juke's Towers of Hell

main belfry
main belfry
#

but idk how you will use it tbh

#

i can't really imagine a open world with obby

forest patio
#

like small obbies you can complete in an open world but you can do some other stuff aswell yk

main belfry
#

your idea dosen't seem completed

forest patio
#

for people who enjoy to grind obbies it kinda is

main belfry
#

i mean if you like do obby and unlock certain area of the game doing it

#

that can be good yea

#

you can do a infinite obby tower too

#

and you made a leaderboard for it

forest patio
#

well that could be 1 obby in the game as example

forest patio
#

at first i need to learn how to fucking build in roblox cause my builds are like hella trash

main belfry
#

make cash

#

and hire somebody

forest patio
#

I might do that

#

actually

#

I can use blender pretty well

#

do I need premium to puplish?

main belfry
#

yea