Blender Git Loki

Git Commits -> Revision 782f0b6

Revision 782f0b6 by Dalai Felinto (master)
January 11, 2012, 07:27 (GMT)
bge camera actuator: -X and -Y axis

The camera actuator only allows to look the object from its front face.

Given that Blender takes -Y as the default forward orientation, the current
functionality doesn't let a camera to track an actor from behind.

This patch allows for -X and -Y axis tracking. This way a camera over the
shoulders of a character is possible (without resorting to rotate the
mesh/armature original orientation.

- patch reviewed by Campbell Barton, thanks

Commit Details:

Full Hash: 782f0b63829a2c257a6e2942c49882f7fe04c33c
SVN Revision: 43282
Parent Commit: 0effb45
Lines Changed: +74, -33

7 Modified Paths:

/source/blender/blenkernel/intern/sca.c (+1, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+17, -1) (Diff)
/source/blender/makesdna/DNA_actuator_types.h (+0, -4) (Diff)
/source/blender/makesrna/intern/rna_actuator.c (+5, -3) (Diff)
/source/gameengine/Converter/KX_ConvertActuators.cpp (+1, -1) (Diff)
/source/gameengine/Ketsji/KX_CameraActuator.cpp (+47, -20) (Diff)
/source/gameengine/Ketsji/KX_CameraActuator.h (+3, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021