Sprite rotation pivot
by Blab Blab · in Torque X 2D · 07/25/2007 (1:59 pm) · 1 replies
Hey guys.
New to TorqueX and GG products in general so go easy on me if I don't use the correct terms for stuff :)
Say I have a material of a Turret where the turret base is drawn in the bottom of the texture as such:
__________
| | |
| _|_ |
| | | |
| |__| |
|_________|
Is it possible to define a point on the texture around which it rotates (normally called a rotation pivot). I just can't seam to find it in TXB OR in the api.
Regards
- Edit
Ok these boards are not friendly to asci art - hope you get the idea anyhow.
New to TorqueX and GG products in general so go easy on me if I don't use the correct terms for stuff :)
Say I have a material of a Turret where the turret base is drawn in the bottom of the texture as such:
__________
| | |
| _|_ |
| | | |
| |__| |
|_________|
Is it possible to define a point on the texture around which it rotates (normally called a rotation pivot). I just can't seam to find it in TXB OR in the api.
Regards
- Edit
Ok these boards are not friendly to asci art - hope you get the idea anyhow.
Torque Owner Dan Maruschak