Andre Susano Pinto
289d875dfd
svn merge -r 15688:15908 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2008-08-01 21:37:36 +00:00
Andre Susano Pinto
aec6b78ded
svn merge -r 15590:15688 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2008-07-22 12:02:57 +00:00
Andre Susano Pinto
70730c7226
svn merge -r 15392:15551 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2008-07-13 13:21:01 +00:00
Andre Susano Pinto
c7dbc65488
svn merge -r 15292:15392 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2008-06-30 22:57:52 +00:00
Andre Susano Pinto
ffbe42129e
svn merge -r 15202:15292 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2008-06-20 21:36:15 +00:00
Benoit Bolsee
1cc61f633f
Patch #11000 approved: [new function] KX_GameObject::alignAxisToVect() Align an object's axis to a given vector
2008-06-02 17:31:05 +00:00
Benoit Bolsee
e2a9590a15
BGE patch: rename rayCastToEx() to rayCast() - better name
2008-05-24 22:50:31 +00:00
Benoit Bolsee
cc6dac8c42
BGE patch: add rayCastToEx(), an extended version of rayCastTo() for use in game script
2008-05-24 18:06:58 +00:00
Campbell Barton
92c9ae280c
replacing epydoc generation script with one copied from bpy docs
2008-05-20 05:55:12 +00:00
Benoit Bolsee
96486b356f
fix BGE bug #8668 : Behavior of os.getcwd() is not consistent between operating systems
...
Add a function GameLogic.expandPath() that works like Blender.sys.expandpath() and is also available in the BlenderPlayer.
Fix the game actuator in the BlenderPlayer to work like in Blender:
- try first to load the .blend from the current working directory
- if not found, try to load from the startup .blend or runtime base directory
2008-05-11 18:45:30 +00:00
Benoit Bolsee
881802d8a3
BGE patch #10492 approved: getLinearVelocity() now can provide local velocity as well. This patch is harmless and backward compatible; it can go safely into 2.46 release
2008-05-06 20:55:55 +00:00
Benoit Bolsee
34771ef405
add KX_GameObject::rayCastTo() PyDoc
2008-04-06 20:02:41 +00:00
Benoit Bolsee
e7384c9dd2
Commit patch #8799 : Realtime SetParent function in the BGE
...
This patch consists in new KX_GameObject::SetParent() and KX_GameObject::RemoveParent() functions to create and destroy parent relation during game. These functions are accessible through python and through a new actuator KX_ParentActuator. Function documentation in PyDoc.
The object keeps its orientation, position and scale when it is parented but will further rotate, move and scale with its parent from that point on. When the parent relation is broken, the object keeps the orientation, position and scale it had at that time.
The function has no effect if any of the X/Y/Z scale of the object or its new parent are below Epsilon.
2008-04-06 18:30:52 +00:00
Kester Maddock
0dcba86c6b
Added the docs & use Python booleans for physics reinstance.
2005-04-23 12:25:21 +00:00
Kester Maddock
c844aa265a
Big patches:
...
Erwin Coumans: Abstract the physics engine
Charlie C: Joystick fixes
Me: Moved the ray cast (shadows, mouse sensor & ray sensor)
2005-03-25 10:33:39 +00:00
Kester Maddock
413e4f51a6
Make the KX_PolygonMaterial Python member variables writable.
2005-01-23 01:40:37 +00:00
Kester Maddock
dd0d5c26fa
Add an Python Material example
2005-01-16 06:27:12 +00:00
Kester Maddock
3b91ea4309
Unified KX_BlenderPolyMaterial & GPC_PolygonMaterial into KX_PolygonMaterial.
...
Make game engine materials use Zoffs in Materials.
Added Python material hooks.
2005-01-16 06:02:06 +00:00
Kester Maddock
5fcf39d2a5
Added getDistanceTo Python method (thanks Charlie C)
2005-01-16 05:55:04 +00:00
Kester Maddock
183ee861e8
PyDoc updates
2004-12-29 01:39:34 +00:00
Kester Maddock
c82614be2e
Python methods for camera actuators (thanks snailrose)
2004-12-29 01:33:15 +00:00
Kester Maddock
9be296289c
Update Python reference version number
2004-11-06 22:10:47 +00:00
Kester Maddock
e4d22a8021
Tweek the stereo settings: allow negative eye separation.
2004-10-24 23:50:44 +00:00
Kester Maddock
657eff7ed7
Port stereo stuff from tuhopuu2: anaglyph, vinterlace
2004-10-24 11:03:18 +00:00
Kester Maddock
7b2567924b
Switch fixed time system. Logic updates should now happen at 30Hz, physics at 60Hz. (By default, use Python to set.) Some actuators still run at framerate (IPO, Action) for nice smooth animation, and an excuse to buy high end hardware.
...
Keyboard sensors can now hook escape key. Ctrl-Break can be used from within blender if you've forgotten an end game actuator.
Fixed a stupid bug preventing some actuators working (like TrackTo).
2004-10-16 11:41:50 +00:00
Kester Maddock
fd5f3e13d2
Convert and use actuators with no target object set.
...
Certain actuators (Add Object/Replace Mesh/Scene/Track To) used to always require a target, or they would not influence the scene. If the actuator target is always set from Python, this could be annoying.
2004-09-19 01:33:08 +00:00
Stefan Gartner
ea8c97b44b
fix typo in GameLogic documentation
2004-09-01 13:19:42 +00:00
Kester Maddock
b6e0899607
Added support for cameras in Blender's Ortho mode.
2004-07-20 12:07:06 +00:00
Kester Maddock
baa2f99f07
Port Python updates from Tuhopuu2:
...
getType/setType to action/sound actuator (sgefant)
Use a more generic python -> math conversion.
2004-07-17 05:28:23 +00:00
Kester Maddock
4c53f38756
Minor Fixes:
...
Better use of booleans for python
#include fixes for Windows
Python Doc fixes
Use the farthest vertex as the face position when z sorting faces. (Camera is on -z axis!)
2004-06-26 09:15:41 +00:00
Kester Maddock
c16444e624
Python updates:
...
Added scene module
2004-06-07 11:03:12 +00:00
Kester Maddock
b468bf726c
Lighting updates:
...
Added specular after texture.
Added Light properties: Negative, No Diffuse, No Specular, Quad, Quad2
2004-06-07 11:01:31 +00:00
Kester Maddock
976e3a1824
Updates to GamePython Reference.
...
Added Actuator documentation.
2004-06-02 12:43:27 +00:00
Kester Maddock
0dfc3a3b78
Use epydoc for generating game python reference (like the bpython guys)
2004-05-31 13:06:04 +00:00
Kester Maddock
d38329b5aa
Added Python module for Lights.
...
Added attributes to the vertex class.
2004-05-30 11:09:46 +00:00
Kester Maddock
a96955efc2
Game Python Reference Manual.
...
This manual lists all the Python classes and modules for Game Objects, Sensor bricks, Controllers etc.
Missing: Actuator & Controller reference.
2004-05-24 07:49:50 +00:00