x


Sword marks

I am making a game with a sword in it, I want the sword to leave a mark on walls if it hits them. I have been trying to do this for weeks but I still can't do it.

PLEASE HELP!!!!!!!!!!!

PS.. do I need unity pro to do this?

more ▼

asked Jun 08, 2011 at 03:21 AM

Ampler Games gravatar image

Ampler Games
108 83 75 75

if you need more info, feel free to ask.

Jun 08, 2011 at 03:22 AM Ampler Games
(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

Well, I can't provide an answer, but... I think you could use OnCollisonEnter, and OnCollisionExit, to get the area, and use the line renderer to "draw" a sword mark.

-Hope I helped!

more ▼

answered Jun 08, 2011 at 03:24 AM

AVividLight gravatar image

AVividLight
2.2k 209 143 197

I will try it.

ps. thanks for your help. I am still tryinging to figure out your 2d game problem.

Jun 08, 2011 at 03:29 AM Ampler Games

Thanks heaps!

Jun 08, 2011 at 06:59 AM Ampler Games

Alright, glad I could help!

Jun 08, 2011 at 03:34 AM AVividLight

I hope it works

Jun 08, 2011 at 03:34 AM AVividLight

Well, I can help you out with that... Does your sword have a collider?

--- -

If it does, tic the box "Trigger" If not... well, add one, and do the above.

Jun 08, 2011 at 03:40 AM AVividLight
(comments are locked)
10|3000 characters needed characters left

I think you can do it by using particle system. Refer http:www.//catlikecoding.com/unity/tutorials/graphs/ example. They have done some similar things.

more ▼

answered Mar 04 at 06:10 AM

Jess.Loboz gravatar image

Jess.Loboz
0 4 4 6

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x17

asked: Jun 08, 2011 at 03:21 AM

Seen: 1160 times

Last Updated: Mar 04 at 06:10 AM