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"

Smooth non-character network movement

After trying for months to get smooth networked movement for a static mesh Pawn, and the best I can get is using physics simulation and THAT's still jittery with only 50ms ping, I guess there's just no other way than to use a Character blueprint.

But then I have a problem. I need a collision body that's wider than it is tall, and the Capsule component on Characters is inherited. So how do I replace that with my static mesh and its collision primitive as the Root Component of the pawn?

I can't seem to find a Blueprint node that does this.

Product Version: UE 4.17
Tags:
more ▼

asked May 03 '18 at 03:12 PM in Blueprint Scripting

avatar image

mightyenigma
3.7k 18 23 20

avatar image MrMcKvarz May 04 '18 at 12:51 PM

Hi, you'll need to implement your own network correction and interpolation if you want it to work outside character. You can create static mesh component in the constructor and assign it as root component.

avatar image mightyenigma May 06 '18 at 11:16 PM

How do assign it as root component in the constructor? I tried searching for nodes with the word "root" and "component" in their names but none of them set the root component of the actor.

avatar image MrMcKvarz May 07 '18 at 01:32 PM

RootComponent = YourBoxOrSmthComponent;

avatar image mightyenigma May 07 '18 at 07:22 PM

I found out on another forum that The capsule component can have its collision set to Query Only and then it will stop ignoring the collision primitives in the other components. I will have to try this out sometime and let you all know if it worked.

(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