Announcement
Collapse
No announcement yet.
Using Playerstart for my own Pawn
Collapse
X
-
Byooler repliedHave a look at AGameMode::FindPlayerStart(). There's a good chance this code is running for you by default and already trying to find a PlayerStart for you. Might be worth stepping through to see if it's failing for some reason.
-
developer_chris repliedYou can actually iterate over the scene nodes. A basic example of these iterators can be found in the UE4 wiki. Once you get the object, you could check the node-name for example, or if you have your own class simply check for that classtype.
Leave a comment:
-
Memnarch started a topic Using Playerstart for my own PawnUsing Playerstart for my own Pawn
Hi,
As i am working on my Pinballgame, i wrote a pawn which does nothing but look into a static direction. That's all.
But ofcourse, my Pawn starts at origin 0.
My question is, how can i search for the player start(as used by other pawns) to read it's location and rotation?Tags: None
Leave a comment: