- Home /
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?
Answer by AVividLight · Jun 08, 2011 at 03:24 AM
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!
I will try it.
ps. thanks for your help. I am still tryinging to figure out your 2d game problem.
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.
Can someone explain to me what is "Alright, glad I could help!" and "I hope it works" worth to be voted up???
Answer by Jess.Loboz · Mar 04, 2014 at 06:10 AM
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.
Your answer
Follow this Question
Related Questions
Freeze lag with object pool/recycler, why? 2 Answers
Making bullet holes in enemies. 1 Answer
How to make bullet marks 2 Answers
Enemy Damage and health Script like DLG and leonardotry 2 Answers