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"

Rotating spline points

Hi, I'm trying to make a grinding system (using splines) that works at all angles. Currently it works fine apart from making the player look as if they are upside-down.

If you watch this Youtube video - please imagine the turquoise vector is the player's position on the rail (not the mesh) - you will see what is happening.

https://youtu.be/wtxJLmP-BCI

If I visualise the spline points roll via the editor I can see why this is happening:

alt text

The best (nearly working) solution I had was to mark each spline point with a boolean as to whether the turquoise vector should be flipped if the player is travelling along that spline point. This nearly worked, but it causes an issue if the start of one spline point is rotated differently to the end of the spline point:

alt text

From looking at other solutions, I can gather (and due to my testing) rotating Spline points in the editor doesn't do anything. But it there anyway to edit them via BP or C++ so I can start attempting to fix this problem?

Cheers, Alex

Product Version: UE 4.12
Tags:
untitled.png (1.6 MB)
untitled2.png (1.5 MB)
more ▼

asked Sep 16 '16 at 08:58 AM in C++ Programming

avatar image

AlexDiru
39 6 7 10

avatar image AlexDiru Sep 16 '16 at 09:23 AM

Ok, I seem to be able to rotate them in editor now. Does anyone know what I've magically toggled?

avatar image ERuts Jul 24 '17 at 09:58 PM

Do you already know what you have magically toggled?

(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