Boginator97
Potential Patron
- Joined
- Aug 13, 2018
I'm trying to make a bottoms mod. I've gotten the mod fairly functional, but I want to use a mask layer to stop the right thigh from protruding above the waist while allowing a wide range of motion. I got the mask layer to hide the right thigh, but it rotates with the thigh. I tried using this code from Faceless...
...in the main settings file, but the mask layer continues to rotate with the thigh.
...in the main settings file, but the mask layer continues to rotate with the thigh.
Code:
import flash.events.Event;
addEventListener(Event.ENTER_FRAME, rotateMask);
function rotateMask(e:Event) {
bottoms.rightThigh.thighMask.rotation = bottoms.rightThigh.rotation/500;
}