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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

How to check if a static mesh has been moved correctly into a postion.

Hi there

In a project I have going at the moment I have it so that the player can pick up and manipulate an object with a physics handle as per this tutorial: https://wiki.unrealengine.com/Pick_Up_Physics_Object_Tutorial I want to make use of this to design some puzzles within the game I'm making. So the current idea I have is to drag a plank into position to form a bridge over a ravine which will then trigger a matinee and make some sheep cross over it. I just don't know how to get the blueprint to recognise that the planks are in the correct place. Any ideas?

Product Version: UE 4.14
Tags:
more ▼

asked Mar 13 '17 at 04:46 PM in Using UE4

avatar image

bigstew15
1 1

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

1 answer: sort voted first

I answered a similar question to this recently that might be helpful:

https://answers.unrealengine.com/questions/573340/place-blocks-in-specific-places-to-open-a-door.html

But, if you only need to do this with one object, you could probably simplify it a lot. You could tag the plank with a tag like, "BridgeBlank", put a trigger volume in the location it needs to be, and only trigger if the overlapping actor has the correct tag. Probably you will also need to check that the location/rotation is more accurate than that though. So if you know the location and rotation that you want, then just check those with a Nearly Equals node when the plank is overlapping, have a branch that will call what you want once the location and rotation are close enough.

Or you could have two trigger volumes, both checking for overlaps with the tagged mesh, one at each end of where the bridge plank needs to be. If it's overlapped at both trigger points, then it is in reasonably the correct position.

more ▼

answered Mar 13 '17 at 04:56 PM

avatar image

Mosel3y
1.8k 49 20 67

(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