Saturday, 3 October 2020

Character controls in unity

I'm currently learning how to set up character controls in unity by writing little scripts and reading a few c# for unity books. No third person cam yet.... Just messing around at the moment but this is a lot of fun.

Wednesday, 30 September 2020

Sunday, 26 July 2020

Python Learning in Blender- Sine expression to Drive Bone Rotation


A quick python learning exercise in blender:
  1. Scripted various controls with arguments for names/limits/shape etc
  2. Scripted a bone chain definition with arguments for names/numberOfBones/transformPlacement/axis/O.O.R etc
  3. Created a script to iterated through the bones and deliver a sine expression using the controllers Y transform as input variables for the bones XYZ rotations - sin(frame*"freq+...etc")
Links:
Now - the expression needs a little work (ie: clamp(#,#,#) etc), before I can expand upon it.