I'm trying to created a special move collision sphere for my game and when I create them in C++ with a code like this :
//create the collision sphere for the model
CollisionSphere = Model::Sphere();
CollisionSphere ->SetPosition(player->GetPosition());
CollisionSphere ->SetMaterial(invisiblityMat);
CollisionSphere ->SetCollisionType(Collision::Character);
later I add a CollisionHook and some code that will make it follow the player around. As I track the collision of this Sphere nothing happens.
I later tried to make a prefab with all the settings and sill the same result.
I decided to let the sphere there and see if it collides with the player and it didn't, but if I leave the prefab in the map it would collide with the player.
I am a total loss here.