blender/doc/python_api
Jorge Bernal 1f43b083a9 BGE: Fix for applyImpulse function
This is related to task T29419. Credit also goes to Goran Milovanovic
(goran) for proposing an initial fix for this issue.

The issue is the current behavior of applyImpulse doesn't match the behavior
described in the documentation as instead of a impulse point in world coordinates,
it seems to require a coordinate in a local space.

Additionally, applyImpulse function isn't consistent with similar functions (applyForce, applyTorque, etc)
as it doesn't allow  to choose in which space (local or global) the impulse is applied.

Now, we have the following function:

applyImpulse(point, impulse, local=False)
being "point" the point to apply the impulse to (in world or local coordinates). When local is False will
have both point and impulse in World space and when local is True will have point and impulse in local space.

Reviewers: moguri, dfelinto, brita_

Reviewed By: moguri

Differential Revision: https://developer.blender.org/D567
2014-07-07 08:06:39 -07:00
..
blender-org fix [#28151] export OBJ don't save the extension 2011-08-03 05:32:07 +00:00
epy hide overly picky warnings from 'pylint' for pep8 script, indentation edits. 2011-11-19 16:17:35 +00:00
examples Fix example 2014-06-25 03:04:53 +10:00
rst BGE: Fix for applyImpulse function 2014-07-07 08:06:39 -07:00
rst_from_bmesh_opdefines.py Style cleanup: C & pep8 2014-04-15 13:11:48 +10:00
sphinx_changelog_gen.py update autogenerated changelog. also correct typos in the generator. 2013-05-09 01:58:49 +00:00
sphinx_doc_gen_monkeypatch.py add python api docstring for 'bpy.types.Operator.bl_property' 2013-02-05 05:09:19 +00:00
sphinx_doc_gen.py Add missing context member for doc gen 2014-05-08 13:55:05 +10:00
sphinx_doc_gen.sh Fix bash/ksh specific test syntax 2014-01-07 14:12:02 +11:00