FelipeMallmann Posted May 31, 2015 Share Posted May 31, 2015 Eai galera, esse é uma pergunta bem simples mesmo, só que não estou entendendo. Tenho essas duas funçoes: radararea createRadarArea ( float leftX, float bottomY, float sizeX, float sizeY, [ int r = 255, int g = 0, int b = 0, int a = 255, element visibleTo = getRootElement() ] ) e colshape createColRectangle ( float fX, float fY, float fWidth, float fHeight) E conforme o que o DNL291 disse nos topicos que pesquisei leftX: A posição esquerda X da Area de radar. bottomY: A posição da parte inferior Y da Area de radar. sizeX: A largura da Area de radar. sizeY: A altura da Area de radar. Mas para mim não ta dando muito certo. O RadarArea ta no local que eu quero, mas já o ColRectangle não. Alguma ideia de como eu posso deixar os 2 sincronizados ?? Meu codigo: safearea = createColRectangle( -2186.3, -1852.8, -570, 700 ) safezone = createRadarArea( -2186.3, -1852.8, -570, 700, 0, 255, 0, 255, root ) EDIT: Problema resolvido! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now