Jump to content

Physical Mask for PhysicalTrigger in Editor do not work


photo

Recommended Posts

Posted

Hi,

I got a strange behavior with the latest UNIGINE version (2.7.3) regarding working with PhysicalTrigger. I am sure that I have found two bugs with them.

Tasks to re-create those issue:

  1. Create a new empty project and open the main world.
  2. Create two new PhysicalTrigger and set only for one of them a PhysicalMask.

Issue 1: Select the second PhysicalTrigger. It got the same PhysicalMask as the first, modified, one. If you change that mask to a complete different one, the first one will be changed as well. Unfortunately only the "frontend" will be changed and not the object itself.

Close the editor and open them again resets the PhysicalMasks for both Trigger.

Issue 2: I guess that problem is linked to the first one. Change the PhysicalMask and save the world. Now open an IDE and get the PhysicalTrigger via code (I did that with simple Editor::get()). All PhysicalMasks have 1 applied to them, so changes in the editor was not saved correctly.

Regards

Christian

 

Posted

Hello Christian, 

It's a bug. There's a workaround - you can manually set physical mask in xml with this string:

<physical_mask>0x8(or other value)</physical_mask>

Sorry, we'll try to fix this in the nearest release.

Thanks.

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Posted

Awesome morbid. Thanks a lot for the quick fixing.

×
×
  • Create New...