I am trying to engage in combat within a 3D dungeon surrounded by walls.
In the First-Person 3D perspective, the camera cannot move freely, possibly because it is surrounded by walls.
How can I make the camera's position move freely?
  • edited February 28
    First of all, you need to block the camera controls, otherwise the controls will usually overrule any change you make to the camera position.

    With camera control blocked, you can freely move around the camera and position it however you like it in schematics animating your battle.
    An alternative would be to switch camera controls to a different one, e.g. Top Down Border which allows moving the camera around. This can be done via schematics (Change Camera Control node).
    Post edited by gamingislove on
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • Thank you for your response.

    I blocked the camera controls.
    While the perspective has indeed changed, it still seems impossible to move the camera with the mouse.
    Additionally, the previously taught feature to change the viewpoint to the selected menu member no longer works.

    I tried the top-down border perspective, but I don't like it because I can see through the walls.

    My idea is to have a camera position that looks at the enemy from the perspective of the selected menu member.

    With the character perspective that you previously taught me for menu selection, the character occupies too much of the camera view, making it difficult to see the enemy. However, it seems that simply moving the camera a bit higher and adjusting the angle toward the floor would work well, but I am unable to do so.
  • Camera can be tricky - and no, you can't just move the camera by mouse without having such a camera control active. E.g. if you use first person camera controls, you'd need to switch to a different control in battle or block the control and add a custom control to the camera in the meantime.

    ORK has different built-in camera controls to get you started, but they'll not fit every kind of game/control.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • It seems difficult to achieve from a first-person perspective, as you mentioned.
    After considering various options, a top-down border view seems suitable.

    However, when I change to the top-down border view at the start of the combat, the camera is placed very far from the character.
    Also, there is no offset option in the Change Camera Control Schematics node, which causes an issue.
    Even if I add a Camera Position Change node after the Change Camera Control, the camera immediately returns to its initial position in the top-down border view.

    How can I resolve this?

    image
  • You need to set up the controls in Base/Control > Game Controls - you can set up the different available controls by switching the control types. The other control settings are still kept when switching control.

    So, set up the Top Down Border camera control there and afterwards switch back your setup to whatever control you want to use.
    When the schematic changes camera control type you'll use the settings you made in the editor.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • Thank you for the advice.
    Even after changing the perspective settings, I didn't know that the modified settings would remain intact.
    The character for command input is now centered as well.
    It looks like this is going to work well.
  • Let me ask an additional question about the camera position.
    In Top Down Border combat, the character becomes the center of the screen, but as a result, the surrounding area is fully visible, which makes the area showing enemies narrower.
    I would like to offset and adjust the camera position, but changing settings like Padding does not seem to affect the position.
    How can I adjust the camera position?

    image
  • You can use a Camera Control Target node to change the target of the camera.
    The position padding setting is used with Camera Border components that define the area in which the camera will follow it's target.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • Thank you for your reply.

    I may have omitted this in my explanation, but as you previously taught me, I have set it up so that the member with the battle menu open is centered on the screen.

    I would like to adjust it slightly upwards.

    I have tried various settings, but it seems impossible to achieve...

    I am thinking of giving up on this matter.
  • In that case, you need to use a child object as the camera target, e.g. the Top Down Border camera has the Child Object settings for this. If the child object isn't found, it'll use the root object.

    With the child object, you can e.g. change it's position if you want to have the camera's target move a bit without having to move the combatant.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • Thank you for your suggestion.
    Actually, I had already thought of that method, but I was hesitant to use it as it would involve adding empty objects to many characters.
    However, I think I will give that method a try.
    Thank you very much.
Sign In or Register to comment.