How to make custom movement

so i’m trying to make a sonic-adventure styled game (kind of like how robot 64 is like mario 64) and i want to implement a custom movement system because the default movement probably won’t cut it. same reason robot 64 redid the movement, probably…

the problem is, i know absolutely nothing about this. i’ve searched for stuff a dev-forum, and what i found is a bit useful, but still left me with questions. how am i supposed to use body-movers in script? how do i set everything up? and when i look for anything on youtube anything i find is just built off of the default movement system.

i’ve tried looking more, like in the toolbox and stuff, but i can’t find anything, so i came here. i’m not asking for someone to write scripts or anything, i just need to be pointed in the right direction.

1 Like

The owner of Robot 64 decided to open-sourced the game, maybe you can take a look and see how he made his custom movement:

2 Likes

doesn’t seem like he wanted others to study his walk movement lol
image
i will take note of some things though

4 Likes

Dude the movement code in Robot 64 Engine is actually really bad, he wasn’t exaggerating at all.

For custom character movement, I use the deprecated BodyPosition, BodyVelocity, and BodyForce which suit my needs just fine for now.
Screenshot 2024-05-04 114241

I don’t exactly recommend this since they are deprecated. I would imagine you could get away with using the new Velocity objects (Linear/AngularVelocity)

2 Likes

ah thank you but i kinda moved on from custom movement a really long time ago lol.
i don’t ever really want to go down the rabbit hole of custom movement again. how little there is of how to do it on the internet isn’t that motivating to say the least. modifying some aspects of the default movement is definitely enough for me.

just out of curiosity, how would you use this with user input service?