spawning a item, then establishing a Rigid body 6dof Constraint


Because 6dof constraints can not be “Got” only initiated ( rabble rabble)

the only way to get a objects RBJ 6dof constraint target is to create it…

So… my solution to store the “key” of the target, spawn it!


I need in python,

@ start of game, all “Components” create a empty, in there center, that is a ghost static object,“Center”
then the object establishes a constraint, and the “Component” stores the key of the “Center” as a property to it accessible to other objects python.

what would be the code to access the key of the item you spawned?
would I have to use the add object actuator?


Code @ pasteAll