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"

Spline - Circular arc - Endpoints not straight

Hi all together,

Currently i´ve a problem with splines and circular arcs The Circular arc is calculated with three points (two are intersecting the circle, one is the control point for calculation)

My problem seems to be that the tangent of the endpoints is effected by the other points. To visualize the problem, i´ve created a circle out of four independent curves, all same size and grid aligned (x4000, y4000)

Splines Endpoints not straight

I´ve already tried setting the
bStationaryEndpoints = true - Leads in display issues in the end and doesn´t help. Setting SplinePoints.Linear, same issue (Does the same like bStationaryEndpoints)

Anybody can help me out here, i´ve right now no clue what i´ve to do to get it: a proper circle if i connect for splines (without using closed loop or connecting them, they should look proper without that at all) In general they should look good alone too.

Thank you very much!

Cheers, Maik

Product Version: UE 4.16
Tags:
more ▼

asked Aug 20 '17 at 01:46 PM in Rendering

avatar image

Krustenkaese
8 3 8

avatar image Krustenkaese Aug 22 '17 at 10:52 AM

Hi all,

Anybody have an idea what i could implement/change to resolve this? Do i need to calculate the tangents on my own?

Thanks and best regards,

Maik

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

1 answer: sort voted first

For everybody who wants to know, i was able to fix the issue by calculating an additional point that is "leaving" the search in half angle.

So if you would calculate the circle just calculate one point in beginning and end more, grab the directions between the beginning three and end three and you can calculate the "center" direction. With that i´ve applied a new point in proper distance and my circle was i wanted to have it first.

THX still for everybody who read that and was taking time to think about a solution.

All best, Maik

more ▼

answered Sep 13 '17 at 02:47 PM

avatar image

Krustenkaese
8 3 8

(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