Fix Rotation

Usage

Fix Rotation
This is a simple script that fixes an entities rotation. I found myself doing this a lot for effects. For example, the gold bars in High Noon have a light and an effect attached to them. The effect needs to be flat on the ground regardless of the orientation of the bar, and the light needs to be above it pointing down regardless of the orientation of the parent.
Usage
Add the fixRotationScript to any entity, and specify the rotation you want to enforce.
DryCereal Games
Games Packages Crayta