IdealTwin Walk Character
This Character
extends the functionality of IdealTwinBaseCharacter to implement a first-person camera mode. It modifies key attributes of the base character to enable an interactive navigation experience with first-person camera view. The main goal is to provide an intuitive way to explore free-form virtual environments.
🎚️ Main Features
First Person Perspective: The camera is tied to the character's point of view, providing direct immersion in the environment.
Camera Turn with Actor's Orientation: The camera rotates according to the character's orientation, allowing smooth and intuitive navigation.
Smooth motion: The character moves smoothly in all directions, avoiding jerky movements and improving the user experience.
Movement to Target Point: The character has the ability to move to a specific point in the environment by clicking (or tapping) on the interface.
Free Camera: It allows the user to move freely in all directions (up, down, left, right, forward and backward).
Zoom DisabledZoom function is not active for this mode.
🖱️ Use Cases
This character is ideal for the following applications:
Outdoor Levels:
Virtual tours of common areas (e.g. recreational areas, gardens, building exteriors).
Interior Levels:
Virtual tours inside units or interior spaces (e.g. apartments, offices, rooms).
🔧 Adjust as desired
The main parameters for the character to adapt to the project are:
Smooth Camera: To change the lag of the movement and rotation of the camera by making it more or less intense
Moment: This is a multiplier that directly affects the variable
MaxWalkSpeed
fromCharacterMovementComponent
. This variable is the one that will determine the maximum, so the multiplier is the one that is applied on the scale when making the movement.
To change the motion configuration of the Character
to use the multiplier, it is necessary to do it from the value CharacterMovementComponent->MaxWalkSpeed
. This has been set to a normal walking speed, although it can be modified to be faster or slower.
View Camera:
Clamp View Angle: These parameters are used to limit the viewing angle of the camera and can make the rotation free or limited.
CameraSpeedMultiplier: These parameters are what will make the camera move more aggressively or smoothly on the vertical and horizontal axes.
