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"

setting char bp initial position in another bp

Hi huys!

Im making a "snake game" in UE4 as learning project, but im stuck with the initial position of the snakes head...

Im doing this:

alt text

im working in the "floor" blueprint (and that is the scene root), so im trying to get the center position of the floor taking his world location and divide it by two, so then i can assign this position tho the snakes head variable. This snake head variable is "snake" type... and comes from the blueprint that i want to use to manage the snake itself.

the "floor" is 9x9 static mesh cubes board that i created in the construcrion script.

Some guy told me that i could try to make a boolean array to assign that initial pos, but i dont have any idea how to do that and i really want to solve this problem,

Thx for the help!!

Product Version: UE 4.9
snake ini pos.png (85.8 kB)
more ▼

asked Nov 26 '15 at 06:22 AM in Using UE4

avatar image

1 2 3

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

0 answers: sort voted first
Be the first one to answer this question
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