Custom PlayerController feature?

Started by FangStriker · 5 months ago · 6 replies · 339 views

#1
FangStriker
Member
JoinedApr 2026 Posts9 Score343
Currently there's a way to add and remove features from the player controller such as; Camera, Input and so on.

However I don't see anything in the documentation showing how to add our own features and I don't know how to access the code for the current ones.

I basically want to make a custom top-down camera feature and replace the current camera feature. Where do I start?
#2
DEX
Member
JoinedJul 2023 Posts2 Score355
Start from making own player controller, is easier than you think or just copy source of default player controller and modify it that way 
edited 5 months ago#3
Zontax
Member
JoinedMay 2023 Posts83 Score8,642
I'm making an isometric game too and I did it like this: I turned off the camera feature in the controller and made my own camera control component. I also changed how the player walks, on start I turned off the feature movement and wrote mine in the player component and I assigned my own input via Vector3 PlayerController.WishVelocity
edited:
So the default player controller is very moddable. You can write own MoveModes. And if you don't like something, just pull it from repo and change it to own namespace. 
#4
FangStriker
Member
JoinedApr 2026 Posts9 Score343
Where can I find the source code for the PlayerController?
#5
CupCakeR
Member
JoinedMay 2021 Posts13 Score1,320
#6
FangStriker
Member
JoinedApr 2026 Posts9 Score343
You good Sir are a gentleman, and a Scholar. Thank you.
#7
Braxen 🐟
Member
JoinedJun 2021 Posts189 Score190
disable the camera feature and make your own in a separate component
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.