Sample File - Voulz/ArchVisTools GitHub Wiki
The Sample file is based on a new First Person Shooter
Blueprint template, with added content from the free Epic Pack Soul: City
, and the plugin ArchVis Tools
installed.
You can download a Packaged Version for Windows here
and the project file itself here (The sample file will need rebuilding).
First Person Character
To try the features of the camera in game, we can edit the FirstPersonCharacter
Blueprint located in /Game/FirstPersonBP/Blueprints/
Replacing the Camera Component with an ArchVis Cine Camera Component
We will need to replace the FirstPersonCamera
which is a Camera Component
by an ArchVis Cine Camera Component
.
To do that, add an ArchVis Cine Camera Component
under the Capsule Component
and set its settings to match the FirstPersonCamera
:
- Copy the
Location
of theFirstPersonCamera
- Change the
Current Focal Length
to12.0
to match theFirstPersonCamera
- Check the
Use Pawn Control Rotation
- Check
Correct Perspective
and set theCorrection Strength
to0.0
- Move the
Mesh2P
(Skeletal Mesh Component
) under theArchVis Cine Camera Component
Before deleting the FirstPersonCamera
, we need to ensure its references are replaced. Right click on it and select Find References
. It should find 3 of them in the Event Graph, and replace each with the ArchVis Cine Camera
. We can now delete the FirstPersonCamera
.
If you start playing in the FirstPersonExampleMap
located in /Game/FirstPersonBP/Maps/
, the Game should work like before.
Controling the ArchVis Cine Camera Component features
Go in the Event Graph of the FirstPersonCharacter
Blueprint, find an empty space and add the following nodes:
Now, if you start playing the Game and use the Mouse Wheel, you can see the Strength of the Perspective Correction changing:
With a Correction Strength
of 0.0
:
With a Correction Strength
of 0.5
:
With a Correction Strength
of 1.0
: