ASRS-Crane syntax problem in VC

Forum Forums Visual Components 4.1 Python Programming in VC ASRS-Crane syntax problem in VC

This topic contains 1 reply, has 2 voices, and was last updated by Avatar CaptainFeature 2 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #17626

    I want to ask how the code (comp.InverseWorldPositionMatrix * toComp.WorldPositionMatrix * locationMatrix) multiplies these three to get newMtx and then take the Y and Z axis coordinates.
    I see that the value obtained by newMtx is<vcMatrix object at 0x0000000034A089D8> but I can’t understand the meaning.




    If you search the vc-help you can find out that the “*”-operator is a matrix multiplication. Find details about this mathematical operation by searching the internet.

    In the vc-help you also can also find python method which is called “printMatrix”, maybe this is helpful for you?



    Thank you for your guide to printMatrix usage.
    I want to ask what comp.InverseWorldPositionMatrix, toComp.WorldPositionMatrix, locationMatrix are defined. I have a view on vc-help that I don’t understand.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.