Blender Git Loki
Git Commits -> Revision a18c723
Revision a18c723 by Benoit Bolsee (master) July 22, 2008, 23:05 (GMT) |
BGE patch: Add min/max parameters to orientation constraint actuator The min/max parameters define a minimum/maximum angle that the object axis can have with the reference direction without being constrainted. The angle is expressed in degree and is limited to 0-180 range. The min/max parameters define a conical free zone around the reference direction. If the object axis is outside that free zone, the actuator will tend to put it back using as a temporary reference direction the vector that is exactly at min or max degree of the reference direction (depending if the axis angle is below the minimum or above the maximum) and is located in the plane formed by the axis and the reference direction. With a low damping value, this is equivalent to clamping the axis orientation within min/max degree of the reference direction. Backward compatibility corresponds to the absence of free zone: min = max = 0. |
Commit Details:
Full Hash: a18c723d5514d3ee74b3d770f8e025091eee47c7
SVN Revision: 15702
Parent Commit: 21bf516
Lines Changed: +56, -8