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"

Why is my invisible trigger box moving my character incorrectly?

I'm trying to make a climbable invisible trigger box that moves the player up. But it seems to move the player suddenly forwards and to the right, or on some attempts where I changed the blueprint slightly, down and through the floor. I don't know why. I made sure the values for the z coordinate are always positive and I never touched x and y. I tried using an initial location that is set in the editor with a visible tooltip but that didn't work (though I kept the end location set like that). Here's the blueprint on the climbable trigger: alt text

Product Version: Not Selected
Tags:
photo (2).jpg (373.8 kB)
more ▼

asked May 07 '14 at 05:07 PM in Blueprint Scripting

avatar image

0vr
182 21 32 40

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

1 answer: sort voted first

Howdy!

Taking a look at your Blueprint, what do you have set for the End Location? If you've only touched the Z and left the X and Y at zero, that might be the problem as you are set to Lerp from Initial Position to End Position.

For the B input on the Lerp node, try doing a Initial Location + End Location that feeds into the B so you'd take the position of the player character and add to the Z to move him up.

-W

more ▼

answered May 08 '14 at 02:20 PM

avatar image

DizzyWes ♦♦ STAFF
5k 145 64 206

avatar image 0vr May 08 '14 at 07:31 PM

Thanks! That worked, but I found the end location to not be as accurate and easy to set up as if I just had a destination actor and used its location for the end location which is a little more clutter but it's still easy to use. So it works now! :D

(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