Hi guys,
I am making a game in which I need a drone that shines a light down on the floor and patrols a room. I want the drone to move automatically in a random direction until it touches either the wall or another drone at which point it stops moving rotates a to a different direction and continues moving. The player should be able to be "caught" in the light of the drone and the boundaries of where the light begins and ends need to be clearly visible to the player.
If any of you ever played the Sly Cooper, you can sort of compare these lights of the drone to the lights of the guards or the searchlights in those games. I have several parts of this working but when I try to combine them I it does not work. So far I am using a cone mesh with CanCollide off to simulate the light field but when I un Anchor that to move it it falls through the floor. I am trying to keep it floating in the air right now using force to counter the gravity but I suspect there might be a move elegant way to do this.
Please let me know your thoughts on what would be your preferred way of making something like this or if you have any tips that might help me out, they are greatly appreciated. Thanks in advance,
Azicre