Business owner, developer, game dev hobbyist

Report RSS Game Dev Skills - More Blender Python Scripting

Posted by on

I've spent about four hours playing with blender scripting so far.

Starting to get the hang of it. I mean, get my head around how objects are structured, which methods are available and all that jazz.

Also discovered the importance of starting blender via terminal so you can get blenders debug output. Not sure how I survived until now with out it. Flying blind does have a certain air of mystery to it, but those days are now behind!


Tweaking my player and camera movement scripts.

I wanted the camera to pan left and right as the player moved forwards and backwards.
Had used the Animation Action to create this effect, but it didn't give me as much control over the movement as I would like, so I replaced it with a script that uses a vector between the camera and player to measure the relative distance on both sides, and then some motion actuators to adjust the cameras relative position.

So far so good. My codes pretty junky but I'll refine that later as my understanding of Blender scripting improves.

So far so good.

Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: