Hi, just spent some time updating Mathutils vectors so the game engine can use them and committed support for this into Blender2.5.
I have seen some complaints that relate to this so thought Id post here.
loc = gameOb.worldPosition loc = 0 gameOb.worldPosition = loc
can now be…
gameOb.worldPosition = 0
You can ofcourse do stuff like…
other.worldPosition = (ob1.worldPosition+ob2.worldPosition)/2
and swizzle (from 2.49 thanks to z0r!)…
other.worldPosition.zxy = ob.xzy
when more types use mathutils
This is going to break games that rely on values being new lists.
Will convert quats, eulers and matrices next.
Original commit log