Hi.
I want to realize the ball with glare. The ball should behave like a standard physical object. Physic body - display group (ball+glare). Glare must be on the ball and do not rotate. How can I accomplish this? Or how can I prevent the rotation of one object in the physic display group?
If you do glares individual objects and change their position in accordance with the coordinates of the balls like this:
local listener = {}
function listener :timer( event )
for i =1, maxBall do
glare[i].x = ball[i].x
glare[i].y = ball[i].y
end
end
timer.performWithDelay( 10, listener)
application begins to slow down.
Thanks.
P.S. Sorry for my bad english.