cucumber merge: world scaling + video texture constants
revisions: 38166,38167,38177,38179,38180,38187,38242 To be implemented after merge: 1) add pydocs(rst) for the video texture new defines 2) see if a NodeSetLocalMatrix would fit well #43439 by kupoman Changing the worldTransform and localTransform python attributes to use BLI_math to simplify the code #38242 by kupoman Adding the constants SOURCE_ERROR, SOURCE_EMPTY, SOURCE_READY, SOURCE_PLAYING, SOURCE_STOPPED to the video texture module. Updates to the documentation will follow after a merge with trunk #38187 by kupoman Updates to the documentation to reflect that worldScale is now writable, and added localTransform and worldTransform to KX_GameObject. #38180 by kupoman The Transform attribute of KX_GameObject was based on world space data. I converted that one to worldTransform, and added a localTransform for local space transform information. #38179 by kupoman Fixed the transform attribute of KX_GameObject's set method to properly deal with negative scaling. #38177 by kupoman Updated the transform property on KX_GameObject so that it is now read/write, and added the corresponding set method. Also simplified the get method by calling GetOpenGLMatrix instead of making the matrix myself. #38167 by kupoman Adding a read only transform attribute to KX_GameObject that returns a 4x4 matrix representing the object's transformations. #38166 by kupoman Adding a worldScale attribute to KX_GameObject. This attribute scales the object independently of its parent's scale.
This commit is contained in:
@@ -980,7 +980,7 @@ Game Types (bge.types)
|
||||
|
||||
.. attribute:: worldScale
|
||||
|
||||
The object's world scaling factor. Read-only. [sx, sy, sz]
|
||||
The object's world scaling factor. [sx, sy, sz]
|
||||
|
||||
:type: :class:`mathutils.Vector`
|
||||
|
||||
@@ -995,6 +995,18 @@ Game Types (bge.types)
|
||||
The object's world position. [x, y, z]
|
||||
|
||||
:type: :class:`mathutils.Vector`
|
||||
|
||||
.. attribute:: localTransform
|
||||
|
||||
The object's local space transform matrix. 4x4 Matrix.
|
||||
|
||||
:type: :class:`mathutils.Matrix`
|
||||
|
||||
.. attribute:: worldTransform
|
||||
|
||||
The object's world space transform matrix. 4x4 Matrix.
|
||||
|
||||
:type: :class:`mathutils.Matrix`
|
||||
|
||||
.. attribute:: localLinearVelocity
|
||||
|
||||
|
Reference in New Issue
Block a user