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
import bpy | |
def niceNumber(x): | |
sizeMul=200 | |
x= float(x)*sizeMul | |
return int(x) | |
print("//////////////////////////") | |
verts = [] | |
faces = [] |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
<html> | |
<head> | |
<title></title> | |
<style type="text/css"> | |
body,html{ | |
background-color: hsl(0,0%,50%); | |
margin:0px; | |
padding: 0px; | |
} | |
canvas{ |
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
<html> | |
<head> | |
<title></title> | |
<style type="text/css"> | |
body,html{ | |
background-color: hsl(0,0%,50%); | |
margin:0px; | |
padding: 0px; | |
} | |
canvas{ |
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
import bpy | |
import math | |
import mathutils | |
import random | |
from mathutils import Vector,Euler,Matrix,Quaternion | |
print("RUNNING") | |
def my_handler(scene): | |
targetObject= bpy.data.objects['T'] | |
for ob in bpy.data.groups['B'].objects: | |
dist = (ob.location-targetObject.location).length |
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; | |
public class cTrigger : MonoBehaviour { | |
public bool overlap = false; | |
public bool overlapLastFrame = false; | |
public bool changed = false; | |
void Update(){ | |
if(overlap!=overlapLastFrame){ |
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
//NewFullyDynamicParkour.js | |
#pragma strict | |
var ClimbMax : float; | |
var VaultMax : float; | |
var VaultMin : float; | |
var distanceToGoFwd : float = 0.7; | |
private var CanVault : boolean; | |
private var CanClimb : boolean; |
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; | |
public class storyFrame : IComparable<storyFrame> { | |
public string path_background; | |
public string path_textBackground; | |
public string path_character; | |
public string text; |
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
#BEGIN GPL LICENSE BLOCK | |
#This program is free software; you can redistribute it and/or | |
#modify it under the terms of the GNU General Public License | |
#as published by the Free Software Foundation; either version 2 | |
#of the License, or (at your option) any later version. | |
#This program is distributed in the hope that it will be useful, | |
#but WITHOUT ANY WARRANTY; without even the implied warranty of | |
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
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
import bpy | |
import math | |
import mathutils | |
from mathutils import Vector,Euler,Matrix,Quaternion | |
print("RUNNING") | |
def my_handler(scene): | |
if hasattr(bpy.data.groups, 'B'): | |
for ob in bpy.data.groups['B'].objects: | |
targetObject= bpy.data.objects['Camera'] |