Hi there,
I installed the extension and try to use a raycast, to detect objects.
But if I use one of the raycast-blocks I'll get a null pointer exeption:
TypeError: Error #1009: Der Zugriff auf eine Eigenschaft oder eine Methode eines null-Objektverweises ist nicht möglich.
at RaycastAPI$/rayCast()[C:\Program Files (x86)\Stencyl3\plaf\haxe\extensions/raycastapi/RaycastAPI.hx:60]
at MethodInfo-5489()[Source/scripts/Design_244_244_heroLogic.hx:82]
at com.stencyl::Engine$/invokeListeners2()[C:\Program Files (x86)\Stencyl3\plaf\haxe\lib/stencyl/1,00/com/stencyl/Engine.hx:3853]
at com.stencyl.models::Actor/innerUpdate()[C:\Program Files (x86)\Stencyl3\plaf\haxe\lib/stencyl/1,00/com/stencyl/models/Actor.hx:1454]
at com.stencyl::Engine/update()[C:\Program Files (x86)\Stencyl3\plaf\haxe\lib/stencyl/1,00/com/stencyl/Engine.hx:2376]
at com.stencyl::Engine/postUpdate()[C:\Program Files (x86)\Stencyl3\plaf\haxe\lib/stencyl/1,00/com/stencyl/Engine.hx:2585]
at com.stencyl::Engine/onUpdate()[C:\Program Files (x86)\Stencyl3\plaf\haxe\lib/stencyl/1,00/com/stencyl/Engine.hx:2578]
I use the block with a print block. I don't get it. I've tried different blocks and combinations but it is still this problem.
Hope you can help me :]