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
AgeCommit message (Collapse)Author
2009-04-14BGE PhysicsCampbell Barton
Clamp objects min/max velocity. Accessed with bullet physics from the advanced button with dynamic and rigid body objects. - useful for preventing unstable physics in cases where objects move too fast. - can add linear velocity with the motion actuator to give smooth motion transitions, without moving too fast. - minimum velocity means objects don't stop moving. - python scripts can adjust these values speedup or throttle velocity in the existing direction. Also made copy properties from an object with no properties work (in case you want to clear all props)
2009-04-08BGE patch #18051: add localInertia attribute to GameObject.Benoit Bolsee
2009-01-15BGE patch 18065: gameobj mass writeable + setmass actuator. This patch ↵Benoit Bolsee
allows to change the mass of a dynamic or rigid body object during the game. Two methods are available: in a Python script by setting the mass attribute of the game object; by logic brick with the Edit Object->Dynamics->Set Mass actuator. The mass can only be set on dynamic objects and must be a positive floating point value.
2009-01-14BGE patch: dynamically update the coumpound parent shape when parenting to a ↵Benoit Bolsee
compound object. This patch modifies the way the setParent actuator and KX_GameObject::setParent() function works when parenting to a compound object: the collision shape of the object being parented is dynamically added to the coumpound shape. Similarly, unparenting an object from a compound object will cause the child collision shape to be dynamically removed from the parent shape provided that is was previously added with setParent. Note: * This also works if the object is parented to a child of a compound object: the collision shape is added to the compound shape of the top parent. * The collision shape is added with the transformation (position, scale and orientation) it had at the time of the parenting. * The child shape is rigidly attached to the compound shape, the transformation is not affected by any further change in position/scale/orientation of the child object. * While the child shape is added to the compound shape, the child object is removed from the dynamic world to avoid superposition of shapes (one for the object itself and one for the compound child shape). This means that collision sensors on the child object are disabled while the child object is parent to a compound object. * There is no difference when setParent is used on a non-compound object: the child object is automatically changed to a static ghost object to avoid bad interaction with the parent shape; collision sensors on the child object continue to be active while the object is parented. * The child shape dynamically added to a compound shape modifies the inertia of the compound object but not the mass. It participates to collision detection as any other "static" child shape.
2008-12-06BGE bug #17731 fixed: No sleeping Button disables dynamics of an object if ↵Benoit Bolsee
it's parented+unparented
2008-10-01BGE bug #17688 fixed: Near Sensor Reset not working (for Gamekit)Benoit Bolsee
Implementation of the PHY_IPhysicsController::SetMargin(), GetMargin(), SetRadius() and GetRadius() for Bullet and Sumo to allow resetting the Near sensor radius. For bullet use the new setUnscaledRadius() function to change sphere radius. In pPreparation of a Fh constraint actuator: - Add KX_IPhysicsController::GetRadius() - Fix implementation of KX_BulletPhysicsController::GetVelocity() (velocity at a point in geometric coordinate) - Don't try to set velocity on static object (Bullet will assert) - Add KX_GameObject::GetVelocity() for C access to local velocity
2008-07-21BGE patch: Optimization of bullet adaptation layer - part 1.Benoit Bolsee
First batch of optimizaton of the bullet adaptation layer in the BGE. - remove circular motion state update. - optimization of physic adaptation layer for bullet: bypass unecessary conversion of rotation matrix to quaternion and back. - remove double updates during object replication.
2008-07-20BGE bug fix (for 2.47): setParent() fix, third part: set mass to 0 when ↵Benoit Bolsee
parenting. Allow loc/scale/orientation change on child object with physic controller.
2008-07-19BGE bug fix (good for 2.47): remove static-static collision messages on the ↵Benoit Bolsee
console since previous SetParent fix. The physical object is set to static+ghost while the object is parented. This behavior will be made optional in a future release. The DisableDynamics actuator will also make the object static except that the ghost/non-ghost flag is preserved.
2008-07-18BGE bug fix (good for 2.47): SetParent actuator did not work on dynamic ↵Benoit Bolsee
objects. Dynamics will now be disabled automatically and the object will be set ghost for the duration of the parenting; this is to avoid static interaction with the parent object. The dynamic state is restored when the parenting is removed with RemoveParent actuator. This fix also applies to setParent() and removeParent() python functions.
2008-06-24BGE patch: Add damping and clamping option to motion actuator.Benoit Bolsee
This patch introduces two options for the motion actuator: damping: number of frames to reach the target velocity. It takes into account the startup velocityin the target velocity direction and add 1/damping fraction of target velocity until the full velocity is reached. Works only with linear and angular velocity. It will be extended to delta and force motion method in a future release. clamping: apply the force and torque as long as the target velocity is not reached. If this option is set, the velocity specified in linV or angV are not applied to the object but used as target velocity. You should also specify a force in force or torque field: the force will be applied as long as the velocity along the axis of the vector set in linV or angV is not reached. Works best in low friction environment.
2006-11-21Removed old Blender/extern/bullet, and upgraded game engine to use Bullet 2.xErwin Coumans
All platforms/build systems: either upgrade to use extern/bullet2, or disable the game engine until the build is fixed.
2006-06-19bugfix/workaround for problem with hard-coded collision margins being too large.Erwin Coumans
2006-01-06Lots of stupid warning fixes:Kent Mein
Added newlines at end of a bunch of files that didn't have them. removed a couple of unused variables and an extra ';' (Also removed config.h crap from these files) Kent
2005-07-17preparation for bullet physicsErwin Coumans