8,018
edits
Paradox-01 (talk | contribs) m (a few notes on the health bar) |
Paradox-01 (talk | contribs) m (→Selected knowledge: Third Person View) |
||
Line 291: | Line 291: | ||
End Object | End Object | ||
</pre> | </pre> | ||
====Cameras==== | |||
=====Third Person View===== | |||
Right after testing the vanilla Third Person Character template in UE you will notice that the camera can be fully moved around the player character. | |||
In Oni the orbiting is limited. IMO this added to Oni's unique vibe. Hand-to-hand combat felt more realistic because you can't really see behind your back. | |||
;Part I | |||
To reproduce the same behavior you have to silent the mouse controls on some conditions. | |||
The core function would hold these parts: | |||
# check for camera's rotation relative to the character (if rotation exceeds limits the input gets nullified) | |||
# check for left turn mouse rotation to get out of camera's right side maximum | |||
# check for right turn mouse rotation to get out of camera's left side maximum | |||
;Part II | |||
During the BeginPlay Event you can set nodes to limit the camera pitch (up and down movement). | |||
;Part III | |||
The limited mouse controls feel clumsy as long as the character can turn around by pressing the "walk backwards" key. | |||
We need changes so that the character actually walks backwards and does NOT turn around. | |||
====Music==== | ====Music==== |
edits