- Home /
Smoke Follow Player
Hello, Is there a way to make a cloud of smoke or fog to follow the player and damage the player by enveloping him?
Comment
Answer by stingman · May 21, 2012 at 05:06 AM
yes there is. create a particle system. attach a collider to it. write a script that will apply damage to the player when the cloud of smoke collides with the player.
this script could either take a position recording from the previous frame (maybe more then), and use that to update its position,
or you can do it by having this "cloud" move at a slower rate then the player.
Your answer
Follow this Question
Related Questions
Stay Back! 2 Answers
AI enemy script (same as in Hitman) 0 Answers
Damage the Player 1 Answer
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
AI help (C) 0 Answers