|
I was implementing the FPS tutorial's "create explosion on hit" part to my project but my particle effects seems to be happening inside the object I am hitting rather than on the surface. I tried modifying the hit location a bit to see if the effect moves out of the object but it doesnt seem to work. Here is my code:
{ }
(comments are locked)
|
|
It's some problems with the collision. Because i had same code. And the bullet goes inside the object. When i removed the collsion code. It bounced like it should. But when i had the code there it went through the object. The only way to fix that is using raycast thing for collision. Yep, apperantly my projectiles were too fast for the engine to calculate the hits. I rewrote the code with raycasts and it worked. Thanks.
Apr 30 '12 at 12:28 PM
crocodile5
(comments are locked)
|
