3D Workspace
Home
Assets
Affiliate Program
Creator Program
Sign up/Log in
?
Upgrade
DCC Bridge
Anonymous1780379061
06-02 05:49
Model Name
robot 3d model
Tags
machine
game asset
realistic
Prompt
#include "FPSCharacter.h" #include "Camera/CameraComponent.h" #include "GameFramework/SpringArmComponent.h" #include "GameFramework/CharacterMovementComponent.h" #include "Kismet/GameplayStatics.h" #include "DrawDebugHelpers.h" AFPSCharacter::AFPSCharacter() { PrimaryActorTick.bCanEverTick = true; FirstPersonCamera = CreateDefaultSubobject<UCameraComponent>(TEXT("FirstPersonCamera")); FirstPersonCamera->SetupAttachment(GetCapsuleComponent()); FirstPersonCamera->SetRelativeLocation(FVector(0,0,64.f)); FirstPersonCamera->bUsePawnControlRotation = true; GetCharacterMovement()->MaxWalkSpeed = 600.f; } void AFPSCharacter::SetupPlayerInputComponent(UInputComponent* PlayerInputComponent) { PlayerInputComponent->BindAxis("MoveForward", this, &AFPSCharacter::MoveForward); PlayerInputComponent->BindAxis("MoveRight", this, &AFPSCharacter::MoveRight); PlayerInputComponent->BindAxis("Turn", this, &AFPSCharacter::Turn); PlayerInputComponent->BindAxis("Look
Detailed Info
Related Models
Enter invite code
Enter invite code to get credits!