Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Help with CopperCube
Help with deleting objects in game

funnymuffler472
Registered User
Quote
2019-11-01 23:39:32

Hello,
I am creating a game where when you click on an object, it deletes it. but in the process of this, it deletes all the objects behind it as well. how can i fix this?
thanks


chenhongye
Registered User
Quote
2019-11-02 02:02:39

Emit rays from the mouse。


Robo
Guest
Quote
2019-11-04 06:29:28

funnymuffler472 wrote:
Hello,
I am creating a game where when you click on an object, it deletes it. but in the process of this, it deletes all the objects behind it as well. how can i fix this?
thanks


You could create an 'action' extension to select only the current node and javascript the delete stuff in their also..

This might be be able to be added into the 'on highlight' functionality also if you don't want to create an extension.
You can add a variable to detect if you are within a certain range also to ignore far way objects.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internation?l" (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