Determine transform of a rigidbody

Hi every body.

My problem is, I have a lying pillar. I know the transform of it (position, rotation, scale)- of course. How can I determine the transform of it when it has been raised up?

Thank you very much.

The rigidbody has a transform property - you can use:-

tran = obj.rigidbody.transform;

…to access the object’s transform.

Thank you, but, thing I want to know is:

  • by the transform of the pillar, how to determine it’s raised or not

or

  • by the transform of a lying pillar, how to determine the transform of it, when it’s raised?