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"

Flawless Actor Movement

hey guys,

i'm trying to simulate a football game with 16 individual players as my thesis. i have the GPS-tracking data as CSV files of each player and the ball. Im importing these file as data tables, each row has corresponding x and y values (position) and a timestamp (20hz so 20 rows per second). Now i wanna move 17 meshes representing each player + ball in (simulated) realtime on the pitch. how i do this: each tick i increase the index of each data table. i'm increasing the index by 5, so i have 4 actions per second, then i set the actors location to the new position... that works so far, but the players seem to "stutter" form position to position, meaning they take a little break at their corrent position (that's how it looks like), or they get slower when they reach their distination... i tried differen interpolation methods, but it always looks the same... maybe i have a wrong aproach or im overlooking something...

i would be thankful for any suggestions...

screen shows my current blueprint:

alt text

Product Version: UE 4.17
Tags:
more ▼

asked Dec 19 '17 at 03:52 PM in Blueprint Scripting

avatar image

KAngermann
1

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

2 answers: sort voted first

tick comes with delta seconds(time that passed since the last frame) use that to move alt text

smoth.png (196.4 kB)
more ▼

answered Dec 19 '17 at 06:24 PM

avatar image

dark-killer
55 3 5

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

thanks for your answer, i tried to work it into my blueprint, but i still get the same result.

more ▼

answered Dec 20 '17 at 03:18 PM

avatar image

KAngermann
1

avatar image dark-killer Dec 20 '17 at 07:53 PM

i read your post again and saw that you only use 4 of 20 locations per second, maybe that's why it doesn't look that good. if that doesn't help update the question with current blueprint

(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