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"

Laying out UE4 test scene in BP with Game Mode / GameState etc

I am trying to make a physics test scene which throws objects at stacks of other objects. I want to author the locations to throw from and I want to move the camera from the spawn position.

I have authored the stacks as well as the spawn locations as basic actors.

I am struggling to see how the rest fits together.

I have put public array of transforms into the level blue print thinking I could populate that with the authored spawn positions and when I got a button press, spawn the actor. However when i click on the level blue print the public variables aren't editable in the editor. It also means I can't populate the actor to spawn variable either to know which actor I should spawn on press.

Then I thought perhaps it was the Game state that should hold all of this? BUt then this is not something that changes during the game.

Finally I was wondering if this should go into a Playercontroller? Then again I can't wire the spawn positions to the player controller because it's not in the scene.

So then that took me back to the Level blue print and perhaps I should have that find the spawn actors by tag, on start up?

This seems very simple and I'm just not very sure how I should lay it all out.

Product Version: Not Selected
more ▼

asked Mar 11 '15 at 12:28 PM in Blueprint Scripting

avatar image

169 19 21 28

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

1 answer: sort voted first

In the end.

Ball to be thrown is a Pawn. It finds the start positions in the scene.

Game Mode is basic game mode that does nothing but by having one you can change camera controller etc.

Once you have a camera controller it selects the camera actor placed in the world.

Pawn takes control input and teleports left & right, along the start positions, before being thrown into the world.

more ▼

answered Apr 21 '15 at 12:33 PM

avatar image

169 19 21 28

(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