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"

PhysicsConstraint vanish after toggling physics off and back on

I am trying to save performace by disableing door physics (set simulate physics node if set off) when player is far. But when toggleing the physics back, the PhysicsConstraint-components seems to vanish and the doors just fall onto ground. Is it bug or am I missing something?

As extra question, is there culling for dynamic lights? Using own loops to toggle those too, but if there is better way I would be interested to know. :)

Product Version: UE 4.8
Tags:
more ▼

asked Aug 03 '15 at 03:20 PM in Bug Reports

avatar image

SaOk
333 17 33 42

avatar image TJ V ♦♦ STAFF Aug 03 '15 at 07:12 PM

Hi SaOk,

I attempted to reproduce this behavior but I couldn't get your results. The physics constraint keeps working correctly.

How do you have your door setup? Is it self contained in a blueprint or is it setup in the level and changed through the Level blueprint? Please feel free to post screenshots.

avatar image SaOk Aug 04 '15 at 09:41 PM

Its self contained in actors blueprint. This is my step up.

When e.g. tried with 200 range, the door works first right.

Then you move far and it gets static.

But when getting near the constraints have effect nomore and door fell down.

I tried few tricks but no success so far. Thanks for all help so far. Very quick responses here. :) ![alt text][1] [1]: /storage/temp/52844-constraitphysbug.jpg

StaticMesh is ofcourse the door. Box is character collision.

avatar image TJ V ♦♦ STAFF Aug 06 '15 at 07:01 PM

I've been trying to reproduce this but I still can't get the physics constraint to break. If you have time, could you create a test project that showcases the issue?

avatar image SaOk Aug 08 '15 at 10:40 PM

Strange. I will test it more during next days and send possible repro.

avatar image TJ V ♦♦ STAFF Aug 17 '15 at 07:08 PM

Hi SaOk,

Any luck finding a repro case?

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

1 answer: sort voted first

Sorry took long, but did more testing now and its the "set collision enable"-node, that is set no collision for the door component, that breaks the constrait for me. I took that node away (which ended the issue) and using now "set collision response to channel" instead to ignore pawn and worlddynamic. That allows AI to walk through doors when player is no nearby. So no problem anymore. :)

ps. Only noticed that "set collision response to channel" lately, very handy to use for other features too. E.g. having now breakable walls that can be repaired back. Only spawning destructible mesh when needed and hiding the orginal static mesh.

more ▼

answered Aug 18 '15 at 04:16 PM

avatar image

SaOk
333 17 33 42

(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