Does anyone know any good ways to move something that doesnt make it clip through stuff? Like when you just press play you can walk around with your character just like that. I dont really know any ways other than manipulating the cframe but I know velocity exists. Do you recommend velocity? A little bit of backstory: I wanna make my own character sort of. A top down rpg game but I dont want people to be able to clip through walls and now I have made my movement but it doesnt stop at walls for it uses CFrame.
#Movement methods
22 messages · Page 1 of 1 (latest)
A very easy solution would be to just force the player into a top down camera while using a normal humanoid to have control over the character
That's true but the thing is I want to use my own character. For educational purposes and stuff 👀
As in your own movementsytem and FSM, or just a custom rig?
own movementsystem and what does fsm mean?
what is a finite state machine
kinda
like just making my whole own character with my code for movement camera movement etc
A finite state machine is a term used in computer science to say something can “think” yet it only had a limited amount of answers.
Like an elevator
A 3 story elevator only has 3 states. 1st story, 2nd and 3rd. If it’s on the first then it needs to go to the second, then it can go to the third
It’s a very basic example of a way to get the behaviour you want
a 3 state npc (very common in games) does the same. E.g. a lot of games make a game not go from “aggravated” straight back to “guarding”, often they first enter a “searching” state
Which would look like this
While an elevator would look more like this
I guess so yes
** You are now Level 1! **