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"

Angular Orientation Drive - when object stops it won't move again

I try to create component swinging toward mouse angle. I set Angular Orientation Drive Target and Angular Drives Params every tick. It moves at the beggining correctly, and even longer if I move coursor. It never reaches desired angle but it moves to it. However if I wait and constraint stabilize, it won't move again after I change mouse position (what changes Angular Orientation Drive Target and should move component toward new angle).

Thank you!

Product Version: UE 4.11
Tags:
more ▼

asked Jun 15 '16 at 03:14 PM in Blueprint Scripting

avatar image

5lider
18 4 7 10

avatar image 5lider Jun 16 '16 at 02:42 PM

Ok so I found that floor was making a friction. I disabled its collision. Also angular damping increased effect.

However the bug still exist if I wait longer. If I move my character it will move again. It looks like setting Angular Orientation Drive Target works only if there is any force applied to constrained objects. However if there will be no force, angular orientation drive is dead. Anyone knows what is the reason of that?

I am trying to create swinging sword/club mechanics without using Kinematic because it will probably end like this: https://answers.unrealengine.com/questions/340724/override-hit-impulse-for-collision-of-kinematic-wi.html

Is there a way to create physical object which is constantly rotating toward cursor with no collision issues?

(comments are locked)
10|2000 characters needed characters left

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