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 UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine.UI; | |
public enum ImageDetectAlgorithm | |
{ | |
corner, | |
fill, | |
blobs, //corner detect, edge detect and Fill |
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 UnityEngine; | |
using System.Collections; | |
using System; | |
using System.Text; | |
using System.Net; | |
using System.Net.Sockets; | |
using System.Threading; | |
public class UDP_GyroSend : MonoBehaviour { |
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 UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System; | |
using System.Text; | |
using System.Net; | |
using System.Net.Sockets; | |
using System.Threading; |
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 UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
public class DBManip_PHP : MonoBehaviour { | |
private string prefixURL = "http://localhost/"; | |
public string getProjectsURL = "getProjectList.php?"; |
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
// Candax Productions | |
#include "BFPOnline.h" | |
#include "FaceAnimationPlayer.h" | |
AFaceAnimationPlayer::AFaceAnimationPlayer(const class FObjectInitializer& PCIP) | |
: Super(PCIP) | |
{ | |
//Enable Ticking | |
PrimaryActorTick.bCanEverTick = true; |
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
from pyfbsdk import * | |
lSystem = FBSystem() | |
lTakeIdx = 1 | |
''' | |
Actual loop to move through takes | |
''' |
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
#a script for removing all the keyframes on the root node | |
from pyfbsdk import * | |
import os.path, os, inspect, sys | |
#List to populate character template | |
lScene = FBSystem().Scene | |
lcharactersList = FBSystem().Scene.Characters | |
lchar = lcharactersList[0] | |
#select the first character |
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
#a script for removing all the keyframes on the root node | |
from pyfbsdk import * | |
import os.path, os, inspect, sys | |
# Find the animation node recurvesive by name. | |
def findAnimationNode( pName, pNode ): | |
lResult = None | |
lName = pName.split( '/' ) | |
for lNode in pNode.Nodes: | |
if lNode.Name == lName[0]: |
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
#a script for moving translations from the hip joint to root joint for root motion animations | |
from pyfbsdk import * | |
import os.path, os, inspect, sys | |
# Find the animation node recurvesive by name. | |
def findAnimationNode( pName, pNode ): | |
lResult = None | |
lName = pName.split( '/' ) | |
for lNode in pNode.Nodes: | |
if lNode.Name == lName[0]: |
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
#Rotates a character 90 degrees without modifying the orientation of the root | |
#Create new layer, Rotate root 90, Set Key, merge layers, Bake to rig, | |
#Create new layer, rotate root to 0, set key, merge layers, bake to skeleton | |
#a script for removing all the keyframes on the root node | |
from pyfbsdk import * | |
import os.path, os, inspect, sys | |
# Find the animation node recurvesive by name. | |
def findAnimationNode( pName, pNode ): |
OlderNewer