- Home /
Distinguish front and back of capsule
I apologize if this appears twice, but something weird was going on with my answers account.
Anyway, I am using the Unity3D FPS standard asset, and using a capsule object as the enemy. I need to differentiate between the front and back of the enemy by using a different color/graphic. I assume this has to do with the mesh renderer, so what I've done is create a graphic with a bullseye and attach it to the enemy capsule. This sort of works, except the bullseye appears on the right of the capsule instead of the front. How can I rotate the graphic so the bullseye appears on the front?
Thanks.
Answer by Meltdown · Aug 14, 2012 at 06:09 AM
Simply create a plane. Attach the plane to your enemy as a child gameObject. Set the material of the plane to your bullseye. Now you can simply move it around and position it on your enemy as you wish.
Your answer
![](https://koobas.hobune.stream/wayback/20220613075636im_/https://answers.unity.com/themes/thub/images/avi.jpg)