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"

Physics constraint: How can I reduce minimum distance?

Hello, I am trying to implement a grappling hook in a 2d platformer game similar to the one in Trine (https://www.youtube.com/watch?v=xvIOBpmlDD4). So far I've been able to implement grappling, swinging and increasing distance to the point where the hook is anchored. I use a physics constraint to preserve the distance between the player character and the anchor point which can be increased by increasing the linear limit but it does not work to decrease the distance below the distance at the time, I connect the player character to the joint. It seems, that this distance is regarded as limit 0 and reducing limit to a negative value does not further decrease the distance.

Is there a way to decrease this minimum distance?

Product Version: UE 4.14
Tags:
more ▼

asked Nov 30 '16 at 01:49 PM in Blueprint Scripting

avatar image

Zello
1 1 1

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

1 answer: sort voted first

Sorry you never got an answer to this. In the current version of UE (4.22) the physics constraint component has a built in motor/drive function that you can use to move up and down your limit.

more ▼

answered Jun 03 '19 at 10:35 PM

avatar image

Cloel
11 2 4

(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