Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Help with CopperCube
How to make bullets destroy themselves on impact

faith_254
Registered User
Quote
2018-08-20 23:38:26

any thoughts


just_in_case
Moderator
Quote
2018-08-21 02:57:18

You can use explosion or destruction animation.... And there is an option in the shoot action...action on impact you can add another action there to change abimation or to make an explosion or anything you want...


faith_254
Registered User
Quote
2018-08-21 03:17:37

i want to make it so they dont pass through enemy


just_in_case
Moderator
Quote
2018-08-21 05:00:19

There is no easy way of doing this... But you can use a proximity behaviour for your scenenode and on entering of the bullet scenenode you can trigger an action to destroy the bullet...

Wheever a bullet scenenode gets into proximity with the enemy scenenode it will be destroyed ... Thats the only possible way of doing this right now... Untill we have a better collision detection api ...


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "I?ternational" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact