Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hello everyone! When i use the "Shoot"-Behavior and set it to "Create Clones of a Scene Node" - how can i make an object react to being shot with that clone of a SceneNode? I tried to give the target object an "when close to"-Behavior and set it to "close to: Scene Node" - and use the scene node i use as bullet - but that doesn't trigger the event. What am i doing wrong? Thanks a lot for your support :-) |
||||
|
You can use the action on impact inside the shoot action to detect collision of the bullet, to better understand it you can load the particles example file that comes prebuilt inside the editor, and when you shoot in that example file you can see a fire explosion whenever the bullet hits any object. |
||||
|
Thanks for the Tipp! :-) Can you point me in the direction how i can skript interactions between Objects with this? For example: "On Impact turn the object i've hit invisible" or "On Impact subtract 5 health-points from the "object i've hit" ? Thanks so much!! :-) |
|