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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Constraints Are Broken

https://www.youtube.com/watch?v=DI3YNyIt4VA

The video shows the problem well enaugh.

So the problem is as follows:

  • The car has a suspension attached to it with constraint

  • The suspension has wheel attached to it with constraint

And it works. However, this isn't enaugh for front, because I need to steer. So...

  • The car has suspension attached to it with constraint

  • The suspension has steer axle controller(simple physics object - just as any else of them) attached to it with constraint

  • The steer axle controller has a wheel attached to it with constraint

This doesn't work any more. This is the case in video - rear wheels work fine, because they got only 2 constraints each. Front wheels, however, have 3 constraints each, and they don't work any more. This is strange mysterious bug and doesn't make any sense for me(maybe because I'm used to Bullet which didn't seem to have such an issues, or is it not a PhysX, but rather UE4 issue?). I hope that Epic team can solve this bug as soon as possible.

Product Version: UE 4.12
Tags:
more ▼

asked Jul 22 '16 at 10:35 AM in Using UE4

avatar image

adriansnetlis
81 13 17 24

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

1 answer: sort voted first

Hi adriansnetlis,

Physics Constraints are not intended to be used with something as complex as a fully functioning vehicle. We recommend using a skeletal mesh in conjunction with the Wheeled Vehicle Blueprint class.

Here is more info on how that works and also check out the Vehicle and Advanced Vehicle templates in the engine.

Cheers,

TJ

more ▼

answered Jul 22 '16 at 07:43 PM

avatar image

TJ V ♦♦ STAFF
41.1k 1009 183 493

avatar image adriansnetlis Jul 23 '16 at 08:25 AM

Even if they're not meant for that - they still must work. It's OK if the game's code is dirty, broken at some points while it works. But it's not OK if game engine's code is dirty and broken at some points. This is a major bug and must be solved because - there are many things that I expected to use 3-level constraints.
By the way - is it possible to build custom physics via scripting. If I can't do it quick with constraints, I'm gone do it slow way. I hope that it's possible to make something like brush model with air pressure, heat, heat transfer, camber, toe and such things taken in account. I hope that It's possible to do ray-based model.
Note. I am making open-world racing simulator
Greetings, Adrians

avatar image Matt Cohen Jul 25 '16 at 09:29 PM

While my situation/implementation of constraints is far less complex than yours, I found that upgrading to 4.12 has broken collision for them, as well. I don't like how quickly this issue has been dismissed.

avatar image TJ V ♦♦ STAFF Aug 03 '16 at 07:55 PM

Hey Matt,

What version of the editor did you upgrade your project from?

(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