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.
Nath's digital art blog of tests, experiments, notes and practice sessions.
Saturday, 3 October 2020
Character controls in unity
Wednesday, 30 September 2020
Saturday, 15 August 2020
Sunday, 26 July 2020
Python Learning in Blender- Sine expression to Drive Bone Rotation
A quick python learning exercise in blender:
- Scripted various controls with arguments for names/limits/shape etc
- Scripted a bone chain definition with arguments for names/numberOfBones/transformPlacement/axis/O.O.R etc
- 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")
- Sine Expression implementation: https://en.wikipedia.org/wiki/Sine_wave
- Bone iteration for expression delivery: https://blenderartists.org/t/iterate-through-bones-of-armature/667942
- Driver delivery: https://blender.stackexchange.com/questions/13747/pose-bone-drivers-through-
Now - the expression needs a little work (ie: clamp(#,#,#) etc), before I can expand upon it.
Subscribe to:
Posts (Atom)