diff options
author | Erwin Coumans <blender@erwincoumans.com> | 2006-04-01 07:30:15 +0400 |
---|---|---|
committer | Erwin Coumans <blender@erwincoumans.com> | 2006-04-01 07:30:15 +0400 |
commit | 36fd42ac85c40861b960b1f896dff972afc75691 (patch) | |
tree | f7c3e52ffa17a022829a4e22d6c67e25f4587f7b /source/gameengine/Ketsji/KX_GameObject.cpp | |
parent | 63bc0b3847366bc21adc7bfcf5f03e223cf4d8f8 (diff) |
more Bullet physics improvements, mainly stability and performance related.
AddObjectActuator has new python method to immediately create objects (this allows to create multiple objects in 1 frame in different positions)
Diffstat (limited to 'source/gameengine/Ketsji/KX_GameObject.cpp')
-rw-r--r-- | source/gameengine/Ketsji/KX_GameObject.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/KX_GameObject.cpp b/source/gameengine/Ketsji/KX_GameObject.cpp index 85fdc51826a..3b1e4f7ce59 100644 --- a/source/gameengine/Ketsji/KX_GameObject.cpp +++ b/source/gameengine/Ketsji/KX_GameObject.cpp @@ -1091,6 +1091,7 @@ PyObject* KX_GameObject::PySetPosition(PyObject* self, if (PyVecArgTo(args, pos)) { NodeSetLocalPosition(pos); + NodeUpdateGS(0.f,true); Py_Return; } |