Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Not Building on iOS and collisions issue
#2
(02-05-2020, 04:28 PM)Rohaan081622 Wrote: Hi there, I have a problem and a few questions

Problem is that I am using unity 2019.2.2.1f1 and when I build the project for iOS it gets stuck on linking with no errors and stays there forever. You can generate that by downloading the obi into an empty project and build.

Now questions
1 - how to detect collisions, I have tried all the docs and examples. simple fluid renders fine and flows well but I want to get callbacks when it collides with certain objects.
By the way, I have used the example script CollisionEventHandler and also change the phase and thickness but no success. it does not log anything. 
There should be a video tutorial!!!
plus is there any possibility if it works finger crossed to use the triggers.

2 - How to set a separate layer for the fluid particles which can be used to enable disable collision with certain layers.

Please help and I'll update my review on the store.

Hi,

XCode 11.4 currently has a bug that causes the linker to hang, see: http://obi.virtualmethodstudio.com/forum...p?tid=2124. We've reported the bug to Apple.
For now, the only workaround is to use XCode 11.3 or 11.3.1 with Obi 5.1. Drop us a line at support(at)virtualmethodstudio.com if you need any previous version.

1.- There's a manual page on collisions:
http://obi.virtualmethodstudio.com/tutor...sions.html

And a full page on collision callbacks:
http://obi.virtualmethodstudio.com/tutor...sions.html

There's also video tutorial for basic collision setup in our official channel:
https://www.youtube.com/watch?v=4i177iXR23o

Triggers work fine with collision callbacks: they will still generate contacts against particles, but the contacts won't have any physical effect.

The CollisionEventHandler will simply draw contacts using gizmos. It won’t log anything to the console.

2.- If you've read the manual page for collisions, you know that Obi does not use layers to filter collisions, instead it uses phases. You can set the phase for particles emitted by a certain emitter in its inspector, see: http://obi.virtualmethodstudio.com/tutor...tters.html

Let us know if we can be of further help. cheers!
Reply


Messages In This Thread
RE: Not Building on iOS and collisions issue - by josemendez - 02-05-2020, 10:13 PM