Blender Git Loki

Git Commits -> Revision 5d06960

Revision 5d06960 by Jorge Bernal (master)
February 18, 2015, 22:24 (GMT)
BGE: Fix T41502 Path following jumping

New Lock Z velocity parameter was added. This parameter avoid the micro-jumping.
By default it is actived except when you load an old file that it is deactived to keep former behaviour.

Additionally it was solved another issue related with the acceleration: That is the acceleration value was not taked into account and we had always the maximum linear velocity from the beginning of movement. Now the acceleration is taken into account until we reach the maximum velocity.
When you load an old file, the acceleration value is set to the maximum range (1000.f). This way we simulate a maximum velocity constant from the beginning of movement (former behaviour).

{F142195}

Reviewers: moguri, dfelinto, campbellbarton

Reviewed By: campbellbarton

Subscribers: sergey

Differential Revision: https://developer.blender.org/D1074

Commit Details:

Full Hash: 5d0696052a00ca80043852ca891b1bbe0b70ff1b
Parent Commit: bd5154b
Lines Changed: +48, -13

8 Modified Paths:

/source/blender/blenkernel/intern/sca.c (+1, -1) (Diff)
/source/blender/blenloader/intern/versioning_270.c (+12, -0) (Diff)
/source/blender/editors/space_logic/logic_window.c (+6, -3) (Diff)
/source/blender/makesdna/DNA_actuator_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_actuator.c (+5, -0) (Diff)
/source/gameengine/Converter/KX_ConvertActuators.cpp (+2, -1) (Diff)
/source/gameengine/Ketsji/KX_SteeringActuator.cpp (+18, -7) (Diff)
/source/gameengine/Ketsji/KX_SteeringActuator.h (+3, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021