Custom character controller

(sorry for the long wait got lunch with my family)

oops
looks like this is a pretty heavily modified version that relies on some instances that only exist on your place


nothing too wrong from the first impressions i got from the code though
judging from OnStep, there seems to be no rounding issues or strange behavior in general (other than GetFloorAndNormal but i get it your entire map is terrain)
its very weird that it starts to bug as early 4k studs and especially the rotation
im not sure about stuff after that though

from what ive seen it is a bit wacky that youre adjusting the rootpart position in both the server and the client, but afaik this shouldnt be too much of an issue

1 Like

the event named “TP” is to disable the controller when the player is being teleported as the controller doesn’t allow the CFrame change.

1 Like

good to know
at this point, i dont know how to help you further since im not the most well versed in CFrame math or Egomoose’s projects
you can wait until someone much smarter than me can tackle this question, or you can shoot a DM to egomoose yourself to see what he has to say about it
good luck on ya project!

1 Like

thanks, I’ll try it myself cause egomoose made a post saying that he would not reply to anything related to his controllers, anyways I appreciate your help, take care

1 Like

You can change the distance by going to starterplayer.StarterCharacterScripts.Main
And change the following values:

local FEELER_LENGTH
local centerRayLength

Main? (wordssssfasfdsgsdgsdfsd)

it’s a local script called Main

Could you please be more specific?
Couls you give the script’s route?


he kinda gave you the route, if you dont have it, you’re probably using another version than his

2 Likes

solved this, it turns out that I swapped a variable that called for a ray normalized vector by the reference part position.

If I wans’t a lazy piece of garbage I would’ve tested this months ago but meh.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.