Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErwin Coumans <blender@erwincoumans.com>2006-04-01 07:30:15 +0400
committerErwin Coumans <blender@erwincoumans.com>2006-04-01 07:30:15 +0400
commit36fd42ac85c40861b960b1f896dff972afc75691 (patch)
treef7c3e52ffa17a022829a4e22d6c67e25f4587f7b /source/gameengine/Ketsji/KX_GameObject.cpp
parent63bc0b3847366bc21adc7bfcf5f03e223cf4d8f8 (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.cpp1
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;
}