|
How do I stop the blood splatter from instantiating underneath the enemies? I want them to spawn where the sword hits.
(comments are locked)
|
|
You can get the point where the collision occurred at, then Instantiate the blood splatter at the point of collision. You can use the normal of the collision to determine which way the particles should squirt from. Here is the reference for Collision contacts. Take a look at the second example, this shows how to use both point and normal. You may need to fool around with the rotation. Im guessing it should go in the direction of the sword. You may even do away with the normal and just use the swords direction. Thanks, but I get an error every time I come in contact with the enemy. It has something to do with the contacts.
May 25 '12 at 06:36 AM
BHS
(comments are locked)
|
