This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
########################################################################################################## | |
## Pupose: Create a pwpolicy XML file based upon variables and options included below. | |
## Policy is applied and then file gets deleted. Use "sudo pwpolicy -u <user> -getaccountpolicies" | |
## to see it, and "sudo pwpolicy -u <user> -clearaccountpolicies" to clear it. | |
## | |
## Usage: Edit variables in Variable flowerbox below. | |
## Then run as a policy from Casper, or standalone as root. | |
## | |
## Tested on: OS X 10.10 and 10.11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.LowLevel; | |
using RootMotion.FinalIK; | |
// Disable IK and TwistRelaxers and set them on this to have them run before constraints and particle systems are evaluated. | |
// Only one instance of IKRunner is possible, but it should be easy enough to extend. | |
// Remember to call Start() on the TwistRelaxers once if they are disabled from the beginning. The IK may also need manual initialization. |