Open Ramalayha opened 2 years ago
Rotating/scaling decals are overlays in Hammer. Though you can use cam.Start3D hackery in your stuff
This is pretty late to the party, but you can rotate them in DecalEx. It just depends on the normal you give it. Although you gotta be careful as it's easy for the decal to somehow clip into the ent.
Perhaps this would need to be exposed?
To clarify; I mean rotate it around the axis of the normal you provide. Take the mouth decal for example, it will always appear as a smile when placed on a wall. There is no way to turn it upside down into a frown or any other orientation. You can put it at an angle on props by rotating the prop before applying it but you can't do that with the map and it's a silly way of doing it. I have no idea if valve bothered to implement a way to rotate decals like that but I can always hope.
It would be nice to have an argument to util.Decal/DecalEx for how many degrees to rotate the decal so they're a bit more flexible.