FireComplex wont start on triggered collision
I'm trying to activate the fire when the character enters a collider zone, but with this it only goes off at start and wont start when i enter the collision area
#pragma strict
function Start () {
gameObject.SetActive(false);
}
function OnTriggerEnter (other : Collider) {
gameObject.SetActive(true);
}
I'm using camera with rigid body
Is trigger is checked
Comment
Answer by hexagonius · Nov 01, 2015 at 12:30 AM
if you disable the whole gameobject, you won't receive script calls.that only works if only the script was disabled.
Your answer
Follow this Question
Related Questions
how to make particles NOT collide with triggers? 1 Answer
Trigger Parameters not working inside Animator Trigger action 0 Answers
Particle System Particles Not Following Rotation 1 Answer
How to place a Particle between 2 UI objects? 3 Answers
Box Coillider changes to trigger depending on speed of the object. 0 Answers