refunct-tas icon indicating copy to clipboard operation
refunct-tas copied to clipboard

Third-person view

Open LukeSaward opened this issue 2 years ago • 2 comments

LukeSaward avatar Dec 18 '23 03:12 LukeSaward

I used this in the past to get a high orthographic view of the map to take screenshots from a bird's eye view for creating a map overview.

b UCameraComponent::GetCameraView
UCameraComponent.ProjectionMode.Value = 1
UCameraComponent.OrthoWidth
UCameraComponent.RelativeLocation.Z = -10000
AShooterCharacter.Controller->CastToPlayerController()->PlayerCameraManager->ViewPitchMax = 90
AShooterCharacter.Controller->CastToPlayerController()->PlayerCameraManager->ViewPitchMin = -90

Maybe these notes about the render distance may be relevant as well? maybe not

b ACullDistanceVolume::ACullDistanceVolume
((FCullDistanceSizePair*)((ACullDistanceVolume*)0x21fef400)->CullDistances.AllocatorInstance.Data)->Size
((FCullDistanceSizePair*)((ACullDistanceVolume*)0x21fef400)->CullDistances.AllocatorInstance.Data)->CullDistance

oberien avatar Dec 18 '23 11:12 oberien

For proper third-person, I was thinking of using a SpringArmComponent and attaching the camera as a child to it. That should work, providing the camera is able to be attached to other components and isn't entangled in inheritance bullshit.

LukeSaward avatar Dec 18 '23 16:12 LukeSaward