Skip to content

A camera component mimicking basic behavior of most RPGs or games like Foxhole.

License

Notifications You must be signed in to change notification settings

JJtheGerman/RPGCameraComponent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RPGCameraComponent

A camera component mimicking basic behavior of most RPGs.
Mainly a test in completely encapsulating a component by letting it handle input and sub component spawning itself.


1


Why?

I noticed a while ago that the bigger projects get the more messy the character class becomes. Despite using components
the character will baloon to thousands of lines of entangled code.
This component is different in that you simply add it to your ACharacter, set a few UPROPERTIES and you are done.
No further interaction with the component needed to make it work.
You do not even see the components it creates in the outliner of the character which I have yet to decide wether or not its a feature.


How to make it work

  1. Add the component onto a class derived from ACharacter
  2. Bind Action Input "RotateCamera" in your Project Settings
  3. Bind Axis Input "MouseScroll" in your Project Settings

About

A camera component mimicking basic behavior of most RPGs or games like Foxhole.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages