Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
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 |
||||
|
Maybe you need to set that behaviour to the exact door? |
||||
|
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... |
||||
|
Ok gotcha thanks |
|