Upbge - 0.3.0

https://drive.google.com/file/d/193l7rjs2ZP__BVy8vlgP8Nc7OL6EQub2/view?usp=sharing

logix2

known limitations / current gotchyas

  1. To blend animations you must use

    object = bpy.data.objects[‘ObjectName’]
    object.animation_data.action_influence = float

  2. Armatures skinning is slow
    try using very low poly actors or bone parenting chunks (think GI joe joints)

  3. Random crashes for me when exiting the embedded player
    use standalone*

  4. Object.worldTransform * Vector()

    became

    object.worldTransform @ Vector()

  5. Using parented objects .worldPosition, .worldOrientation, .worldTransfrom all silently fail

    you can use

    child = parent.chidren['ChildName']
    child.removeParent()
    local = parent.worldOrientation.inverted() @ (child.worldPosition - parent.worldPosition)
    child['local'] = local
    #store local value

later you can use
parent.worldTransform @ local

to get a childs world position
4 Likes