Hi,
Im trying to get highest/lowest position of a body, until now I only managed to get it's center point by using body.GetPosition(). It doesn't matter if the body rotates, I will always get it's center position which will be always the same.
Take a look at this pic:

In my application, I only want to get the highest Y of a body, when the body rotates, the highest Y will also changed. How am I able to do this?. Any help highly appreciated.
Thanks.
Im trying to get highest/lowest position of a body, until now I only managed to get it's center point by using body.GetPosition(). It doesn't matter if the body rotates, I will always get it's center position which will be always the same.
Take a look at this pic:

In my application, I only want to get the highest Y of a body, when the body rotates, the highest Y will also changed. How am I able to do this?. Any help highly appreciated.
Thanks.