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"

Collision Events to a Spline

Hi there,

I am working with the 3rd Person BP starter project and I am trying to create a section where I snap my player to a Spline, he can advance through the spline with the right and left movement (for backwards), and once he transitions to the end of the spline I snap him back to the original 3rd Person controls.

My issue is that I am not quite sure how to make a Trigger event switch the character to the Spline. I am thinking that if I collide with the box I snap to the first part of the spline, then once they advance to the end (and the next trigger) I can just revert back to the original character controller.

Here is what I have: This is my movement along the spline (it works if I swap Collision1 with EventBeginPlayThis is my movement along the spline (it works if I swap Collision1 with EventBeginPlay

alt text This is my Level BP. It says I need a Third Person Character Reference, but I am having trouble getting that.

Thanks for any help!

Product Version: UE 4.9
Tags:
movealongspline.png (238.0 kB)
levelbp.png (57.0 kB)
more ▼

asked Oct 24 '15 at 10:56 PM in Blueprint Scripting

avatar image

BearsAirz
1 1 2 4

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

1 answer: sort voted first

I figured it out. I just created a bool for being on the spline or not, shared that with the level blueprint on begin play and used collision boxes to toggle to and from the spline.

more ▼

answered Oct 25 '15 at 12:49 AM

avatar image

BearsAirz
1 1 2 4

(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