#studio's camera doesnt match moon animator's one

206 messages · Page 1 of 1 (latest)

honest steppe
#

it looks like the camera is attached to the head or smth

fierce ore
#

It could be a scaling issue

#

or a CFrame application issue

honest steppe
#

i mean

#

it kinda looks

#

like the camera is attached to the head

#

like always

#

and i dont really need that

#

couldnt that be the problem

fierce ore
#

at line 29

#

you could try applying the CFrame directly

#

This means the camera inherits the movement of the HumanoidRootPart.

#

If nf.Value already contains the camera position from Moon Animator then it should fix the issue.

#

So you could change it with Camera.CFrame = nf.Value

fierce ore
#

this is the problem actually

#

so do you have the camera mode on scriptable?

honest steppe
#

it changes to scriptable when the animation starts

fierce ore
#

okk

honest steppe
#

i was follow some tutorial

#

and their script was like that

#

but it only setted the first frame for me

#

so i used some chat gpt

fierce ore
#

instead of line 29

#

ik after if nf then

honest steppe
fierce ore
#

so the nf dosen't have the value of the moon animator

#

camera

honest steppe
fierce ore
#

put this in your script to verify

#

print("Moon Animator Frame:", nf.Value)
print("HumanoidRootPart:", Args.Character.HumanoidRootPart.CFrame)

#

the value of these 2

honest steppe
#

doesnt matter where i put

pliant bisonBOT
#

studio** You are now Level 4! **studio

honest steppe
#

?

fierce ore
#

i don't think so

#

but put it after the 29 line

#

to be sure

honest steppe
fierce ore
#

ok so the nf got the same frame like the moon

#

i think

honest steppe
#

might aswell just give u the file

fierce ore
#

del 12-15 and put this Args.Character.Humanoid.AutoRotate = false Camera.CameraType = Enum.CameraType.Scriptable

honest steppe
fierce ore
#

a

honest steppe
#

makes 2 of the same liknes

#

lines

fierce ore
#

im blind

#

sorry

#

let it just with that

#

and try

honest steppe
#

ouh wait

#

it just sets them directly

#

to moon animators ones

fierce ore
#

yh

honest steppe
#

i mean thats something

fierce ore
honest steppe
#

yeah done

#

so what do we do

fierce ore
#

is the animation 60 fps?

#

or 30

honest steppe
#

its just camera shake

#

its 60

fierce ore
#

okk

honest steppe
#

im pretty sure

#

we have to let it be Camera.CFrame = Args.Character.HumanoidRootPart.CFrame * nf.Value

#

a not just nf.Value

fierce ore
#

can you see if there's a option for exporting with the cframe pos

honest steppe
#

thats all u get

#

after exporting

#

uhh actually

fierce ore
#

watch the frames

#

to see the values

#

and the only problem is at line 29

honest steppe
fierce ore
#

i mean here

pliant bisonBOT
#

studio** You are now Level 11! **studio

honest steppe
#

ouh

#

and compare these

#

to the ones i have in the folder

#

?

fierce ore
#

yh

fierce ore
#

from this photo

#

i can say that the nf is a world pos

honest steppe
#

and what does that say to u

fierce ore
#
``` add this
#

if this show's up that is equally as the nf.value that means the animation is not good

honest steppe
#

do i keep these 2

#

other prints

fierce ore
#

no

#

we don't need it anymore

honest steppe
#

im pretty sure it rounds the values in properties

#

but if u take that into account the frames r the same

honest steppe
#

u mean why

fierce ore
#

and yk that roblox studio's camera is dif than the in game camera

#

so

#

nf is the pos of the anim

honest steppe
#

btw

fierce ore
#

and this gives multiplier of the camera

honest steppe
#

line 19

#

does it matter if i change it to

fierce ore
#

yeah

#

no

honest steppe
#

local nf = cf.Frames:FindFirstChild(tostring(math.ceil(ft)))

fierce ore
#

i don't think so

#

try

honest steppe
#

the same

fierce ore
#

what if you remove the ft

#

and just let DT * 60

honest steppe
pliant bisonBOT
#

studio** You are now Level 5! **studio

honest steppe
#

like this

fierce ore
#

t

#

yeah

honest steppe
#

starts the same, cam doesnt follow through tho

#

actually it used to be that

#

in the original script

#

from youtube

#

but it wouldnt follow the camera

#

want to see the original

#

once again

#

?

fierce ore
#

Camera.CFrame = workspace.CurrentCamera.CFrame:Inverse() * nf.Value
add this instead of this line

honest steppe
#

ouh man

#

epilepsy warning

fierce ore
#

yeah

#

just let Camera.CFrame = nf.Value

honest steppe
#

and how do we make the camera

#

start at the players location

#

i mean

#

initially

#

i used a camera rig

#

but i dont think theres a need of scripting a camera appearing and setting the frames to those of the camera

#

and it should be doable the way we follow atm

fierce ore
#

send the script

#

you have rn

honest steppe
fierce ore
honest steppe
#

i mean

#

i just pressed

#

frame by frame

#

add cframe

#

so theres actually no difference

#

i used to do attachtopart thingy

fierce ore
#

just to be there and its all

honest steppe
#

i mean yeah could do that

fierce ore
#

you can set the value of nf to the CFrame of the part

honest steppe
#

yeah i wanted to do so

fierce ore
#

And why didn't you say?

honest steppe
#

all i used the camera rig for

#

is to set up camera in moon the same way

#

it was in blender

#

lemme screenshot for urq

#

see

#

the normal camera from moon

fierce ore
#

can you make so the camera of the moon to have the exacly pos as a part?

honest steppe
#

yeah

#

i used that

#

to create all these cframes

#

cuz u cant export camera frames if camera only has attach to part and no frames

fierce ore
#

and you can say local nf = part.Position

#

and the problem was resolved

honest steppe
#

i mean

#

i would need to make an animation play on the camera then

#

and somehow making it pop up near the player

fierce ore
#

Ye

#

it can be invisible

honest steppe
#

it can be invisible yeah but

#

it still needs to appear

fierce ore
#

okk

honest steppe
fierce ore
#

so if the animation works then it should appear when the anim starts

honest steppe
#

or i could just attach it to the player

fierce ore
#

but you need to disable cancolide all

honest steppe
#

we could try that

#

yup

#

and how exactly

#

do i weld it to the player

#

ig ill try do ask the supreme chat gpt

fierce ore
honest steppe
#

i would say

honest steppe
#

ig thats enough of ur time

#

thanks for stopping by

fierce ore
#

hi

#

sorry i was eating

#

@honest steppe

honest steppe
#

yuh

fierce ore
#

you can try asking chat gpt

#

but with the code extention

honest steppe
#

ig ill just stop there

#

im more of an animator

#

maybe next time