Benoit Bolsee
36ef95eff5
BGE bug #17408 fixed: Radar sensor is oriented the wrong way when the set along negative axis. Improve reliability of Radar detection by clearing the manifold cache instead of updating it.
2008-08-07 17:29:06 +00:00
Benoit Bolsee
15952fb26c
BGE bug #17409 fixed: BGE Near Sensor Incorrect once inside the radius. The bug is located in Bullet: the manifold contact points for non-response objects (sensor, ghost) are not refreshed and stay in the cash as long as the objects overlap in the broad phase. Instead of fixing Bullet, I put a work around in the BGE. This may need review when a new Bullet library is integrated
2008-08-07 11:31:24 +00:00
Benoit Bolsee
553694b614
BGE fix bug #17430 : BGE Collide/Touch Sensor interfearing with other unrelated sensor states. The bug was introduced in the recent logic optimization patch. It only affects collision and touch sensors. The bug is fixed by keeping track of registration count.
2008-08-05 16:23:33 +00:00
Benoit Bolsee
8a8a12ed84
BGE patch: logic optimization part 2: remove inactive sensors from logic manager.
...
With this patch, only sensors that are connected to
active states are actually registered in the logic
manager. Inactive sensors won't take any CPU,
especially the Radar and Near sensors that use a
physical object for the detection: these objects
are removed from the physics engine.
To take advantage of this optimization patch, you
need to define very light idle state when the
objects are inactive: make them transparent, suspend
the physics, keep few sensors active (e,g a message
sensor to wake up), etc.
2008-07-30 17:41:47 +00:00
Benoit Bolsee
d725e5f78e
BGE bug fix (for 2.47): setParent() fix, third part: set mass to 0 when parenting. Allow loc/scale/orientation change on child object with physic controller.
2008-07-20 15:40:03 +00:00
Benoit Bolsee
7e990de294
BGE bug fix (good for 2.47): remove static-static collision messages on the 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-19 10:27:52 +00:00
Benoit Bolsee
35e655cd5a
BGE: Fix restitution: object will now bounce according to material restitution setting
2008-04-16 18:47:36 +00:00
Benoit Bolsee
539ff57015
fix BGE bug #8813 : new rayCastTo() function hits near sensor collision box
2008-04-10 20:17:12 +00:00
Benoit Bolsee
3cf5b1d6fb
Radar/Near sensor performance problem fixed
2008-03-01 19:17:37 +00:00
Erwin Coumans
3792ae1560
bugfixes for generic (experimental) Bullet rigidbody constraint: use cone-twist instead (needs a few more minor fixes)
...
Note: Visual Studio projectfiles and other buildsystems need to add extern/bullet2/src/BulletDynamics/ConstraintSolver/btConeTwistConstraint.cpp to the project!
2007-07-16 05:56:51 +00:00
Erwin Coumans
d814e2b9c6
two minor changes, hopefully before release:
...
- reset randseed, which should make simulations more predictable
- re-activate substeps (for more accurate simulations)
2007-05-07 17:10:44 +00:00
Erwin Coumans
00e956477e
fix crash in constraint conversion, fix reference frame transformations for generic 6dof constraint
2007-01-19 03:14:51 +00:00
Erwin Coumans
76b6a6611c
normalize hitnormal
2006-12-26 23:03:36 +00:00
Erwin Coumans
e820cdf6a0
fixing some issues: force needs to wake up objects, property sensor issue, island activation issue
2006-12-25 02:02:13 +00:00
Erwin Coumans
92379ec21f
contribution from RCRuiz:
...
drawing of rigidbody constraint pivots, and allow passing of full constraint frame.
2006-12-16 05:50:38 +00:00
Erwin Coumans
2ec5d00da9
fixed some motionstate synchronization issues
...
nearsensor was not synchronized at the start
wheels not synchronized properly (one frame delay)
2006-12-04 04:13:42 +00:00
Erwin Coumans
1f4ac018ff
different Bullet/graphics synchronization
2006-12-03 00:36:51 +00:00
Erwin Coumans
76616f2a3b
gameengine: reverted some timing experiment
2006-12-02 23:27:23 +00:00
Erwin Coumans
438d114f1a
- GEadded VSYNC for Mac OS X swapbuffers (can be easily undone by commenting out the #define WAIT_FOR_VSYNC 1
...
- GEdon't crash when attempting to add constraint on game objects without physics controller
- GEimproved some physics -> graphics synchronization issues
- small experiment with game engine timing to smooth framerate/reduce tearing
2006-12-02 22:25:47 +00:00
Erwin Coumans
28bbf2d616
- added support for generic 6DOF constraint
...
- only 6DOF constraint shows buttons for limits
- added python support for rigidbody constraint (untested, but required for COLLADA Physics support)
2006-12-02 03:48:36 +00:00
Erwin Coumans
4941107f92
- enabled compound collision objects, requires 'clear parent inverse'
...
- fixed some issues with kinematic objects, introduced during Bullet 2.x upgrade
2006-12-01 01:04:27 +00:00
Erwin Coumans
a1481bc7e5
fix some loose ends in Bullet 2.x upgrade
2006-11-29 07:23:01 +00:00
Erwin Coumans
e91d6895bd
updated to latest Bullet Physics
2006-11-29 05:25:37 +00:00
Erwin Coumans
c7c49fa9a3
make compiler happy
2006-11-23 05:42:27 +00:00
Erwin Coumans
8ad6d7f401
more Bullet 2.x upgrading. fair amount of functionality is now restored, not all yet.
2006-11-21 12:26:05 +00:00
Erwin Coumans
46234f90ce
Removed old Blender/extern/bullet, and upgraded game engine to use Bullet 2.x
...
All platforms/build systems: either upgrade to use extern/bullet2, or disable the game engine until the build is fixed.
2006-11-21 00:53:40 +00:00
Erwin Coumans
6ce5d97c56
upgraded Bullet rigidbody physics to latest version 1.9
2006-08-28 06:44:29 +00:00
Erwin Coumans
3b1a592fb7
debug lines / register the applied impulse for constraint (for breaking)
2006-07-03 05:58:23 +00:00
Erwin Coumans
619d0dc9ca
bug: normalized raycast
2006-06-23 14:10:12 +00:00
Erwin Coumans
cd5a7fbe84
workaround for a irregularity/bug in physics system (happens very seldom, just 1 report so far, linear velocity/AABB becomes NaN)
2006-06-22 01:10:50 +00:00
Erwin Coumans
4201a0bfcf
bugfix: removing constraints should activate rigidbodies.
2006-06-20 05:41:28 +00:00
Erwin Coumans
9b79c57f38
fixed Bullet bug: constraints didn't merge simulation islands.
2006-06-17 13:55:59 +00:00
Erwin Coumans
3458ed4753
Bullet, bugfix: don't simulate when substeps are set to 0
2006-06-12 18:47:56 +00:00
Erwin Coumans
ab71e2a9b5
-added basic support for GameActuator 'load game', relative paths were broken, just load file into memory and load blend from memory.
...
-near sensor support
- python binding for PhysicsConstraints.setNumTimeSubSteps (dividing the physics timestep to tradeoff quality for performance)
2006-05-22 21:03:43 +00:00
Erwin Coumans
4a5826fa83
Patch from Charlie:
...
Cleared the python dictionary at the end of the game engine, should fix some issues,
also reverted the python controller changes, related to this
This should fix the following bugs:
[ #3789 ]
[ #3815 ]
possiblyy fixes:
[ #3834 ]
2006-05-13 23:31:36 +00:00
Erwin Coumans
ede20c166a
- Charlie provided a work-around for some armature related crashes
...
- fixed some Bullet raycasting (hitfraction was not properly updated for static meshes)
- removed some cvs tags in Bullet's BMF _Font files (they keep on conflicting when duplicated in different repositories)
- set default linearsleepingtreshold explicitly
2006-05-11 17:58:23 +00:00
Erwin Coumans
93c47e1071
- Added support for kinematic objects (interaction between rigidbodies), deriving linear/angular velocity from previous transform/current transform and deltatime.
...
- Made another attempt to migrate from Sumo to Bullet: import of older files automatically switch to Bullet, but you can override it, and save the file in 2.42 version. then it stays Sumo physics.
2006-05-11 00:13:42 +00:00
Erwin Coumans
1567254b12
(experimental) logic timestep to 60hertz instead of 30 hertz.
2006-05-10 02:04:21 +00:00
Erwin Coumans
e19fcdc670
fixed Bullet raycasting filtering issue
2006-05-09 01:15:12 +00:00
Erwin Coumans
f51d1ef7d6
- fixed Bullet noResponse/ghost mode
...
- added ccd option (future use, very basic and inefficient)
- some internal Bullet refactoring/improvements
2006-04-28 00:08:18 +00:00
Erwin Coumans
f9597df32d
added Bullet rigidbodies that behave like Sumo 'dynamic', without rotations. Done using a special hinge constraint (no translational degrees of freedom removed)
2006-04-26 06:01:46 +00:00
Erwin Coumans
8291024b99
fixes in raycasting
2006-04-24 04:58:37 +00:00
Erwin Coumans
d1c0a4e6d1
use ContinuousConvexCollision for raycaster, fixes raycast problems
2006-04-23 18:42:17 +00:00
Erwin Coumans
904a0792f7
Bullet physics: fixed some accuracy problem (square length should be compared to square epsilons), and more collision sensor work + deactivation issues
2006-04-17 06:27:57 +00:00
Erwin Coumans
971ee74c84
added support for 'Ghost' object and collision sensor (preliminary)
2006-04-17 01:33:10 +00:00
Erwin Coumans
13e0d22d89
a lot of work in a few small changes to improve penetration depth. and some fixes in shaders from Charlie.
2006-04-13 05:11:34 +00:00
Erwin Coumans
84d27d74cb
added hinge constraint support to Bullet physics
2006-04-06 20:37:38 +00:00
Erwin Coumans
36fd42ac85
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)
2006-04-01 03:30:15 +00:00
Erwin Coumans
e8ce63fcf9
more physics work: fixed some deactivation bug, improved contact constraint stability and friction (lower the number of iterations).
2006-03-29 03:11:30 +00:00
Erwin Coumans
af9573e9ea
Synchronized Bullet physics to latest version.
...
- Changed license from MIT to ZLib.
- Added 3D Sweep and Prune contribution
- More stable native constraint solver
Sorry for any inconvenience caused by this checkin.
All Blender buildsystems require update: added files and moved files.
2006-03-27 06:37:30 +00:00