I wanted to extend the OnCollisionWith method to also register a trigger collision aswell.
The graph works with colliding with a collider. If it is colliding with a trigger (changing collider type into trigger at prefab) i get the following error message:
NullReferenceException: Object reference not set to an instance of an object
Bolt.CollisionEvent2D.<Definition>b20_0 (Ludiq.Recursion recursion) (at C:/Users/Lazlo/Projects/Ludiq/Bolt.Flow/Runtime/Flow/Framework/Events/Physics 2D/CollisionEvent2D.cs:45)
(Ludiq.Recursion recursion) (at
Bolt.ValueOutput.GetValue (Ludiq.Recursion recursion) (at
Is it not possible to have to event listener on one graph? I wanted to utilize the one output for both cases.
Thanks a lot!
Customer support service by UserEcho