#camera shite coz i'm dumb

1 messages · Page 1 of 1 (latest)

honest ember
#

@solar blaze here we are

solar blaze
#

so u need to make another emtpy game object called player holder inside man mesh

#

and putt all the player's body parts in it

#

the u need to pass that holder's transform to the camera script

honest ember
#

these body parts?

solar blaze
#

thats inside man mesh

#

so the heirarchy goes man mesh ->player holder-> all the player parts

honest ember
solar blaze
#

then in script bring back the line

public Transform Player;
``` at the beginning
#

camera script

honest ember
solar blaze
honest ember
#

which would be man_mesh right

solar blaze
#

ya but it should be in assets folder

#

in the project tab beside console

honest ember
#

yea it's

assets > adventure_character > Mesh > Man_Mesh

solar blaze
honest ember
#

i got the empty thing, but it isn't letting me move anything into it

solar blaze
#

send a screenshot

honest ember
#

after we've got this sorted I gotta figure out where to download animations and how to apply them to the character 💀

solar blaze
#

what u gotta figure out is how to learn this the proper way

honest ember
#

🤣 yes i agree

solar blaze
#

is this an assignment or something?

honest ember
#

for school?

solar blaze
#

like are u doing this cuz its fun or are u doing this cuz u have to

#

cuz if its the former i highly suggest u leave it for now and learn how the basics work first

honest ember
#

nah I'm 19 finished school, I have experience in making fivem servers and a little bit of lua experience but I didn't like the restrictions of my creativity and so I thought I'd find a game engine I like using (unity) and make my own game

#

I learn by doing not by reading, I can't read or even watch a tutorial on how to do something, I need people to walk me thru the basics like this and once I've got that then I just sorta pick everything else up myself

solar blaze
#

also why is it a prefab to begin with ? u only have 1 player

honest ember
#

idk it's just how it is when I imported the character

solar blaze
#

prefabs are good for when u need multiple instances of the same object

solar blaze
#

like the same object multiple times

#

even buldings

#

light posts

#

roads etc

honest ember
#

ah

#

like this

solar blaze
#

yes

#

rn i dont think i can help u rotate the player unless ur able to make a child of it and put everything in there

#

cuz usually the camera is outside the main player object not a child of it

honest ember
#

is it not as simple as add another line or 2 to the camera script?

solar blaze
honest ember
#

is there a simple way to just not have it as a prefab

solar blaze
# honest ember like this

if u just rotate the entire man mesh rn the problem is that ur camera is also in the man mesh so ur camera would also be rotated

solar blaze
#

one advantage is that animation is gonna be easier on this

#

but stuff like this becomes a pain

honest ember
#

what if I just take the camera out of the man mesh so they are seperate entities?

honest ember
solar blaze
#

u would need further script to make the camera accurately follow

#

then as i mention u would need the vector lerp

#

3d isnt easy man

honest ember
#

clearly, my brain is rattled

#

my fivem server is also broken when it shouldn't be

solar blaze
# honest ember clearly, my brain is rattled

here is my suggestion since u dont wanna do a tutorial, try small try to make a regular white capsule move and jump and rotate around like ur trying with a complex player mesh

#

then replace the capsule with the acutaly player mesh

honest ember
#

ok

honest ember
#

@solar blaze u know u said animations would be easier...