x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How to Hide the default Pawn in Game?

Hey,guys! I want to ask a question about how to Hide the default Pawn in Game. I learn the Course at:https://docs.unrealengine.com/en-US/Programming/Tutorials/AutoCamera But when I play it, in the field of vision, there is a default pawn sphere, how to hide it? If I want to record a video,will it appare in the video? Thanks for your help!

Product Version: UE 4.20
Tags:
more ▼

asked Apr 16 '19 at 03:12 AM in Blueprint Scripting

avatar image

LHRtry
1 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Hello,

For Bluprint Project :

Create a Pawn (Right-Click -> Blueprint Class -> Pawn) and

Assign it as Default Pawn Class (Edit -> Project Settigs -> Maps & Modes (in Project Tab) -> Selected Game Mode -> Default Pawn Class)

For C++ Project :

Create a Pawn (Right-Click -> New C++ class -> Pawn) and

Assign it as Default Pawn Class in your Contructor :

Declare your constructor in your $YourProject$GameModeBase .h file :

alt text

Implement your constructor in your $YourProject$GameModeBase .cpp file :

alt text

capture.png (8.1 kB)
capture2.png (9.7 kB)
more ▼

answered Apr 16 '19 at 09:18 AM

avatar image

bstt
111 1 3 2

avatar image LHRtry Apr 17 '19 at 02:01 AM

Well,Thank you very much,I think it works~Another question is that the default GamebaseMode 's default pawn cant be changed?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

In blueprint projet, you can directly change the GamebaseMode 's default pawn, not in C++ one.

more ▼

answered Apr 25 '19 at 09:00 AM

avatar image

bstt
111 1 3 2

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question