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 create illusion that actor is infront of another?

Hi, Am a beginner to unreal engine and this is my first time posting anything, but I was wonder if there is any way to make one actor appear to be in-front of another actor when the first actor is actually behind the 2nd. Am trying to make a portal for my game and am trying to create this illusion that my character is entering the portal when in reality, hes just going through the portal mesh while the camera locks onto the portal. Basically, I would like to know how i could make a certain actor/pawn always appear in-front of another actor. Any help would be appreciated :)

Product Version: UE 4.14
more ▼

asked Apr 30 '17 at 09:26 PM in Blueprint Scripting

avatar image

1 1

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

1 answer: sort voted first

You need simple vector math. Get forward vector, multiply it by distance and add actor location. You will get location in front of actor. Here I showed a picture of it.

more ▼

answered Apr 30 '17 at 09:42 PM

avatar image

842 31 13 47

avatar image Worthy0ne Apr 30 '17 at 10:23 PM

Thanks for the replay! So that will teleport my player but what about making the illusion? Am trying to make the player look like hes entering when hes actually just going through the portal. Is there any way to make this illusion?

(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