Hey, I just purchased your fire package and it looks really great in the videos but I can’t seem to get it working. When I import it I have multiple errors all having to do with the physics. Usually the easy fix it to write ‘ UnityEngine.’ before the physics line and it will fix it but then it says it can’t convert UnityEngine Collider[] to Collider[]. I don’t understand this. What do I have to do?
The two lines are:
Collider[] hits = Physics.OverlapSphere(transform.position, raycastRadius, mask);
and
flam.TryToSetOnFire(hit.ClosestPointOnBounds(transform.position), IgnitePowerMultiplier);
EDIT: The error was due to the another class which was named Collider.
Hey,
I suppose this has something to do with other packages/assets you have. Maybe one of them overrides Collider class. Have you tried importing Ignis to an empty project?
All the best,
Thomas
The project I imported it to has no other packages/assets that would change the colliders. 90% of it is made. Could this have to do with SteamVR, that is the major plugin I am using and perhaps that is the reason the colliders would be messed up? Would there be any other reason for this?
I have used it in a project that has no assets or downloaded packages except for SteamVR. Would that be the reason?