Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > CopperCube Open discussion
Trying to break some wood issue

crackyourspeaker
Registered User
Quote
2016-05-31 01:07:04

I have an axe, i wanna break some boards on a door.. so i add a behavior on the wood which is "when clicked on do something"..
then i add delete scene node.. everything works great but the problem is i can break the wood from a mile away.. i wanna break them when my axe makes contact or something like it..

can anyone help? please


Artizrek
Guest
Quote
2016-05-31 10:56:24

Maybe you need to set that behaviour to the exact door?


just_in_case
Moderator
Quote
2016-05-31 17:29:30

You asked the similliar question in your previous post.....

Add shoot action to your player and add action on impact ... delete scene node wood..

Or you can use proximity behaviour with your axe...
On proximity entering scene node "wood" hide scene node wood.. or run breaking animation....


And don't forget to decrease the shooting range or distance... otherwise you will able to break the wood from mile away... you should decrease it according to your needs...


crackyourspeaker
Registered User
Quote
2016-05-31 23:08:31

Ok gotcha thanks


Create reply:


Posted by: (you are not logged in)


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