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 linear vs angular limitations

Hi there,

not sure if this applies as a bug, maybe more like a missing enhancement:

I was wondering why a PhysicsConstraint is missing linear motion limits (Linear Limit Size) for every axis, since the angular motion has it (Swing 1Limit Angle, Twist Limit Angle etc.).

Also there is no offset for the linear motion, angular motion has Angular Rotation Offset. Meaning every constraint will be able to move forwards and backwards, One cannot directly set a motion only in one direction.

Thanks!

alt text

Product Version: UE 4.12
Tags:
constraint.png (79.6 kB)
more ▼

asked Jul 12 '16 at 02:22 PM in Bug Reports

avatar image

ionbordura
123 7 19 16

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

1 answer: sort voted first

Hi ionbordura,

Thank you for the feedback. I entered the feature request (JIRA UE-33249) to add Linear Limit Size for all axis and (JIRA UE-33253) to add Linear Limit Offset functionality. We will post back here with questions or comments if we have them.

Cheers,

TJ

more ▼

answered Jul 13 '16 at 08:31 PM

avatar image

TJ V ♦♦ STAFF
41.1k 1009 183 493

avatar image ionbordura Aug 23 '16 at 04:09 PM

Hi Tj,

could you add another related feature request for me :) ? Or hopefully point me to the code part which I might be missing.

I would like to get the current positions of some linear constraints, however I see one can only access the positions for angular constraints: GetCurrentSwing1() , GetCurrentSwing2(), GetCurrentTwist() link text

I could not find anything for linear constraints. Thanks!

avatar image TJ V ♦♦ STAFF Aug 31 '16 at 04:10 PM

Sorry for the delay.

To clarify, are you looking to get the position of the constrained object or the Linear Limits for X,Y,Z of the physics constraint?

avatar image ionbordura Sep 01 '16 at 10:26 AM

Yes, in a way. I can get the position of the constrained objects and then compute their relative positions from the constraint. However, it would be nicer if I could get this directly from the constraint. This can be done for the angular ones with the above mentioned methods.

Edit. So, a combination of what you asked to be clarified: The positon of the constrained object relative to the linear limits of the constraint. (e.g. if the object is allowed to move between -1 and 1, then I would like to know the current position between these two limits)

avatar image TJ V ♦♦ STAFF Sep 01 '16 at 08:24 PM

Thanks for clarifying. I added it as feature request JIRA UE-35476. You can follow that link to our new public bug tracker to vote and see the status.

I also updated the other 2 feature request above with public tracker links as well.

avatar image ionbordura Aug 29 '17 at 01:07 PM

Hi TJ,

it seems the public bug trackers have been removed for this, will there be no plan to add linear constraints the same features as with the angular constraints?

(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