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"

Infinite runner more blockers

Hi, i am trying to make a infinite runner by following the official ue4 tutorial. i am new to ue4 and i wanted to ask: how can i add more blockers? in the tutorial there is only one blocker (SM_rock) but i want to add different blockers that randomly spawn.

Product Version: Epic Games Launcher
Tags:
more ▼

asked Jul 26 '15 at 03:44 PM in Using UE4

avatar image

Ingmar05
10 6 10 16

avatar image PhoenixMarket Feb 06 '19 at 04:53 AM
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hi!

1 Create new actor BP BP_RandomBlocker with StaticMesh component.

2 Add variable array Meshes with type StaticMesh.

3 After compile BP, you can add meshes. And not forget add collision to blocked meshes. And add Death event.

alt text

alt text

4 Open BP_FloorTile->SpawnBlocker and set BP_RandBlocker.

alt text

alt text

randblock01.png (340.9 kB)
randblock02.png (213.2 kB)
randblock03.png (233.6 kB)
randblock04.png (697.8 kB)
more ▼

answered Jul 27 '15 at 09:47 AM

avatar image

svv3dUDN
8.4k 254 41 399

(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